Documentation ¶
Index ¶
- func After(value string, a string) string
- func Before(value string, a string) string
- func Between(value string, a string, b string) string
- func ContainsAny(s string, ss ...string) bool
- func EqualFoldAny(s string, ss ...string) bool
- func HasPrefixAny(s string, prefixes ...string) bool
- func HasPrefixI(s, prefix string) bool
- func HasSuffixAny(s string, suffixes ...string) bool
- func HasSuffixI(s, suffix string) bool
- func Join(elems []interface{}, sep string) string
- func RemoveAccent(oldname string) string
- func Reverse(s string) string
- func TrimPrefixAny(s string, prefixes ...string) string
- func TrimSuffixAny(s string, suffixes ...string) string
- func UnicodeToAscii(str string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAny ¶
ContainsAny returns true is s contains any specified substring
func EqualFoldAny ¶
EqualFoldsAny returns true is s is equal to any specified substring
func HasPrefixAny ¶
HasPrefixAny checks if the string starts with any specified prefix
func HasSuffixAny ¶
// HasSuffixAny checks if the string ends with any specified suffix
func Join ¶
Join concatenates the elements of its first argument to create a single string. The separator string sep is placed between elements in the resulting string.
func RemoveAccent ¶
Remove all accents of a given string, return clean string.
func TrimPrefixAny ¶
TrimPrefixAny trims all prefixes from string in order
func TrimSuffixAny ¶
TrimPrefixAny trims all suffixes from string in order
func UnicodeToAscii ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.