Documentation
¶
Index ¶
- func CheckPresence(target string, array []string) bool
- func ContainsLetter(str string) bool
- func CountLines(fileContet string) int
- func CreateJSON(values ...string) string
- func ExtractString(data *string, first, last string) string
- func ExtractTextFromQuery(target string, ignore []string) []string
- func IsASCII(s string) bool
- func IsLower(str string) bool
- func IsUpper(str string) bool
- func Join(strs ...string) string
- func RemoveFromString(s []byte, i int) []byte
- func RemoveWhiteSpaceString(str string) string
- func Split(data string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPresence ¶
CheckPresence verify that the given array contains the target string
func ContainsLetter ¶
ContainsLetter verity that the given string contains, at least, an ASCII character
func CountLines ¶
CountLines return the number of lines in the given string
func CreateJSON ¶
CreateJSON is delegated to create a json object for the key pair in input
func ExtractString ¶
ExtractString is delegated to filter the content of the given data delimited by 'first' and 'last' string
func ExtractTextFromQuery ¶
ExtractTextFromQuery is delegated to retrieve the list of string involved in the query
func RemoveFromString ¶
RemoveFromString Remove a given element from a string
func RemoveWhiteSpaceString ¶
RemoveWhiteSpaceString is delegated to remove the whitespace from the given string FIXME: unefficient, use 2n size, use RemoveFromString method instead
Types ¶
This section is empty.