package
1.0.2
Repository: https://github.com/ravior/gserver.git
Documentation: pkg.go.dev

# Functions

AddSlashes quotes chars('"\) with slashes.
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.
IsNumeric tests whether the given string s is numeric.
Parse parses the string into map[string]interface{}.
PosI returns the position of the first occurrence of <needle> in <haystack> from <startOffset>, case-insensitively.
QuoteMeta returns a version of str with a backslash character (\) before every character that is among: .\+*?[^]($).
Replace returns a copy of the string `origin` in which string `search` replaced by `replace` case-sensitively.
SplitAndTrim splits string `str` by a string `delimiter` to an array, and calls Trim to every element of this array.
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.

# Variables

DefaultTrimChars are the characters which are stripped by Trim* functions in default.