Versions in this module Expand all Collapse all v2 v2.0.6 Jun 10, 2022 Changes in this version + const NotFoundIndex + func AddSlashes(str string) string + func CaseCamel(s string) string + func CaseCamelLower(s string) string + func CaseDelimited(s string, del byte) string + func CaseDelimitedScreaming(s string, del uint8, screaming bool) string + func CaseKebab(s string) string + func CaseKebabScreaming(s string) string + func CaseSnake(s string) string + func CaseSnakeFirstUpper(word string, underscore ...string) string + func CaseSnakeScreaming(s string) string + func Chr(ascii int) string + func ChunkSplit(body string, chunkLen int, end string) string + func Compare(a, b string) int + func CompareVersion(a, b string) int + func CompareVersionGo(a, b string) int + func Contains(str, substr string) bool + func ContainsAny(s, chars string) bool + func ContainsI(str, substr string) bool + func Count(s, substr string) int + func CountChars(str string, noSpace ...bool) map[string]int + func CountI(s, substr string) int + func CountWords(str string) map[string]int + func Equal(a, b string) bool + func Explode(delimiter, str string) []string + func Fields(str string) []string + func HasPrefix(s, prefix string) bool + func HasSuffix(s, suffix string) bool + func HideStr(str string, percent int, hide string) string + func Implode(glue string, pieces []string) string + func InArray(a []string, s string) bool + func IsLetterLower(b byte) bool + func IsLetterUpper(b byte) bool + func IsNumeric(s string) bool + func IsSubDomain(subDomain string, mainDomain string) bool + func Join(array []string, sep string) string + func JoinAny(array interface{}, sep string) string + func LcFirst(s string) string + func LenRune(str string) int + func Levenshtein(str1, str2 string, costIns, costRep, costDel int) int + func Nl2Br(str string, isXhtml ...bool) string + func NumberFormat(number float64, decimals int, decPoint, thousandsSep string) string + func OctStr(str string) string + func Ord(char string) int + func Parse(s string) (result map[string]interface{}, err error) + func Pos(haystack, needle string, startOffset ...int) int + func PosI(haystack, needle string, startOffset ...int) int + func PosIRune(haystack, needle string, startOffset ...int) int + func PosR(haystack, needle string, startOffset ...int) int + func PosRI(haystack, needle string, startOffset ...int) int + func PosRIRune(haystack, needle string, startOffset ...int) int + func PosRRune(haystack, needle string, startOffset ...int) int + func PosRune(haystack, needle string, startOffset ...int) int + func PrefixArray(array []string, prefix string) + func QuoteMeta(str string, chars ...string) string + func Repeat(input string, multiplier int) string + func Replace(origin, search, replace string, count ...int) string + func ReplaceByArray(origin string, array []string) string + func ReplaceByMap(origin string, replaces map[string]string) string + func ReplaceI(origin, search, replace string, count ...int) string + func ReplaceIByArray(origin string, array []string) string + func ReplaceIByMap(origin string, replaces map[string]string) string + func Reverse(str string) string + func SearchArray(a []string, s string) int + func Shuffle(str string) string + func SimilarText(first, second string, percent *float64) int + func Soundex(str string) string + func Split(str, delimiter string) []string + func SplitAndTrim(str, delimiter string, characterMask ...string) []string + func Str(haystack string, needle string) string + func StrEx(haystack string, needle string) string + func StrLimit(str string, length int, suffix ...string) string + func StrLimitRune(str string, length int, suffix ...string) string + func StrTill(haystack string, needle string) string + func StrTillEx(haystack string, needle string) string + func StripSlashes(str string) string + func SubStr(str string, start int, length ...int) (substr string) + func SubStrFrom(str string, need string) (substr string) + func SubStrFromEx(str string, need string) (substr string) + func SubStrFromR(str string, need string) (substr string) + func SubStrFromREx(str string, need string) (substr string) + func SubStrRune(str string, start int, length ...int) (substr string) + func ToLower(s string) string + func ToUpper(s string) string + func Trim(str string, characterMask ...string) string + func TrimAll(str string, characterMask ...string) string + func TrimLeft(str string, characterMask ...string) string + func TrimLeftStr(str string, cut string, count ...int) string + func TrimRight(str string, characterMask ...string) string + func TrimRightStr(str string, cut string, count ...int) string + func TrimStr(str string, cut string, count ...int) string + func UcFirst(s string) string + func UcWords(str string) string + func WordWrap(str string, width int, br string) string v2.0.6-1 Jun 11, 2022