funcUtils

package
v0.0.0-...-16734e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TrimString

func TrimString(str string, maxLength int) string

language agnostic function to trim a string str to maxLength e.g 1: TrimString("abcd",2) // ab e.g 2: TrimString("Ἄγγελος",2) // Ἄγ

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL