# Functions
AddSlashes quotes with slashes `\` for chars: '"\.
CaseCamel converts a string to CamelCase.
CaseCamelLower converts a string to lowerCamelCase.
CaseConvert converts a string to the specified naming convention.
CaseDelimited converts a string to snake.case.delimited.
CaseDelimitedScreaming converts a string to DELIMITED.SCREAMING.CASE or delimited.screaming.case.
CaseKebab converts a string to kebab-case.
CaseKebabScreaming converts a string to KEBAB-CASE-SCREAMING.
CaseSnake converts a string to snake_case.
CaseSnakeFirstUpper converts a string like "RGBCodeMd5" to "rgb_code_md5".
CaseSnakeScreaming converts a string to SNAKE_CASE_SCREAMING.
CaseTypeMatch matches the case type from string.
Chr return the ascii string of a number(0-255).
ChunkSplit splits a string into smaller chunks.
Compare returns an integer comparing two strings lexicographically.
CompareVersion compares `a` and `b` as standard GNU version.
CompareVersionGo compares `a` and `b` as standard Golang version.
Contains reports whether `substr` is within `str`, case-sensitively.
ContainsAny reports whether any Unicode code points in `chars` are within `s`.
ContainsI reports whether substr is within str, case-insensitively.
Count counts the number of `substr` appears in `s`.
CountChars returns information about chars' count used in a string.
CountI counts the number of `substr` appears in `s`, case-insensitively.
CountWords returns information about words' count used in a string.
Equal reports whether `a` and `b`, interpreted as UTF-8 strings, are equal under Unicode case-folding, case-insensitively.
Explode splits string `str` by a string `delimiter`, to an array.
Fields returns the words used in a string as slice.
HasPrefix tests whether the string s begins with prefix.
HasSuffix tests whether the string s ends with suffix.
HideStr replaces part of the string `str` to `hide` by `percentage` from the `middle`.
Implode joins array elements `pieces` with a string `glue`.
InArray checks whether string `s` in slice `a`.
IsGNUVersion checks and returns whether given `version` is valid GNU version string.
IsLetterLower tests whether the given byte b is in lower case.
IsLetterUpper tests whether the given byte b is in upper case.
IsNumeric tests whether the given string s is numeric.
IsSubDomain checks whether `subDomain` is subdomain of mainDomain.
Join concatenates the elements of `array` to create a single string.
JoinAny concatenates the elements of `array` to create a single string.
LcFirst returns a copy of the string s with the first letter mapped to its lower case.
LenRune returns string length of unicode.
Levenshtein calculates Levenshtein distance between two strings.
List2 Split the `str` with `delimiter` and returns the result as two parts string.
List3 Split the `str` with `delimiter` and returns the result as three parts string.
ListAndTrim2 SplitAndTrim the `str` with `delimiter` and returns the result as two parts string.
ListAndTrim3 SplitAndTrim the `str` with `delimiter` and returns the result as three parts string.
Nl2Br inserts HTML line breaks(`br`|<br />) before all newlines in a string: \n\r, \r\n, \r, \n.
NumberFormat formats a number with grouped thousands.
OctStr converts string container octal string to its original string, for example, to Chinese string.
Ord converts the first byte of a string to a value between 0 and 255.
Parse parses the string into map[string]interface{}.
Pos returns the position of the first occurrence of `needle` in `haystack` from `startOffset`, case-sensitively.
PosI returns the position of the first occurrence of `needle` in `haystack` from `startOffset`, case-insensitively.
PosIRune acts like function PosI but considers `haystack` and `needle` as unicode string.
PosR returns the position of the last occurrence of `needle` in `haystack` from `startOffset`, case-sensitively.
PosRI returns the position of the last occurrence of `needle` in `haystack` from `startOffset`, case-insensitively.
PosRIRune acts like function PosRI but considers `haystack` and `needle` as unicode string.
PosRRune acts like function PosR but considers `haystack` and `needle` as unicode string.
PosRune acts like function Pos but considers `haystack` and `needle` as unicode string.
PrefixArray adds `prefix` string for each item of `array`.
QuoteMeta returns a version of `str` with a backslash character (`\`).
Repeat returns a new string consisting of multiplier copies of the string input.
Replace returns a copy of the string `origin` in which string `search` replaced by `replace` case-sensitively.
ReplaceByArray returns a copy of `origin`, which is replaced by a slice in order, case-sensitively.
ReplaceByMap returns a copy of `origin`, which is replaced by a map in unordered way, case-sensitively.
ReplaceI returns a copy of the string `origin` in which string `search` replaced by `replace` case-insensitively.
ReplaceIByArray returns a copy of `origin`, which is replaced by a slice in order, case-insensitively.
ReplaceIByMap returns a copy of `origin`, which is replaced by a map in unordered way, case-insensitively.
Reverse returns a string which is the reverse of `str`.
SearchArray searches string `s` in string slice `a` case-sensitively, returns its index in `a`.
Shuffle randomly shuffles a string.
SimilarText calculates the similarity between two strings.
Soundex calculates the soundex key of a string.
Split splits string `str` by a string `delimiter`, to an array.
SplitAndTrim splits string `str` by a string `delimiter` to an array, and calls Trim to every element of this array.
Str returns part of `haystack` string starting from and including the first occurrence of `needle` to the end of `haystack`.
StrEx returns part of `haystack` string starting from and excluding the first occurrence of `needle` to the end of `haystack`.
StripSlashes un-quotes a quoted string by AddSlashes.
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.
StrLimitRune 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.
StrTill returns part of `haystack` string ending to and including the first occurrence of `needle` from the start of `haystack`.
StrTillEx returns part of `haystack` string ending to and excluding the first occurrence of `needle` from the start of `haystack`.
SubStr returns a portion of string `str` specified by the `start` and `length` parameters.
SubStrFrom returns a portion of string `str` starting from first occurrence of and including `need` to the end of `str`.
SubStrFromEx returns a portion of string `str` starting from first occurrence of and excluding `need` to the end of `str`.
SubStrFromR returns a portion of string `str` starting from last occurrence of and including `need` to the end of `str`.
SubStrFromREx returns a portion of string `str` starting from last occurrence of and excluding `need` to the end of `str`.
SubStrRune returns a portion of string `str` specified by the `start` and `length` parameters.
ToLower returns a copy of the string s with all Unicode letters mapped to their lower case.
ToUpper returns a copy of the string s with all Unicode letters mapped to their upper case.
Trim strips whitespace (or other characters) from the beginning and end of a string.
TrimAll trims all characters in string `str`.
TrimLeft strips whitespace (or other characters) from the beginning of a string.
TrimLeftStr strips all the given `cut` string from the beginning of a string.
TrimRight strips whitespace (or other characters) from the end of a string.
TrimRightStr strips all the given `cut` string from the end of a string.
TrimStr strips all the given `cut` string from the beginning and end of a string.
UcFirst returns a copy of the string s with the first letter mapped to its upper case.
UcWords uppercase the first character of each word in a string.
WordWrap wraps a string to a given number of characters.
# Constants
The case type constants.
The case type constants.
The case type constants.
The case type constants.
The case type constants.
NotFoundIndex is the position index for string not found in searching functions.
The case type constants.
The case type constants.
The case type constants.
# Type aliases
CaseType is the type for Case.