Documentation
¶
Index ¶
- func Equal(a, b string) bool
- func Repeat(input string, multiplier int) string
- func S(format string, a ...interface{}) string
- func StrLimit(str string, length int, suffix ...string) string
- func SubStr(str string, start int, length ...int) (substr string)
- func Trim(str string, characterMask ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Equal ¶
Equal reports whether `a` and `b`, interpreted as UTF-8 strings, are equal under Unicode case-folding, case-insensitively.
func StrLimit ¶
StrLimit returns a portion of string `str` specified by `length` parameters, if the length of `str` is greater than `length`, then the `suffix` will be appended to the result string. considers parameter `str` as unicode string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.