Documentation ¶
Index ¶
- func CheckPresence(target string, array []string) bool
- func ContainsLetter(str string) bool
- func CountLinesString(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 IsASCIIRune(r rune) bool
- func IsLower(str string) bool
- func IsUpper(str string) bool
- func Join(strs ...string) string
- func RemoveFromString(data string, i int) string
- func RemoveNonASCII(str string) string
- func RemoveWhiteSpaceString(str string) string
- func ReplaceAtIndex(str string, replacement rune, index int) 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 CountLinesString ¶ added in v0.0.5
CountLinesString 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 IsASCIIRune ¶ added in v0.0.4
IsASCIIRune is delegated to verify if the given character is ASCII compliant
func RemoveFromString ¶
RemoveFromString Remove a given element from a string
func RemoveNonASCII ¶ added in v0.0.5
RemoveNonASCII is delegated to clean the text from the NON ASCII character
func RemoveWhiteSpaceString ¶
RemoveWhiteSpaceString is delegated to remove the whitespace from the given string FIXME: unefficient, use 2n size, use RemoveFromString method instead
func ReplaceAtIndex ¶ added in v0.0.3
ReplaceAtIndex is delegated to replace the character related to the index with the input rune
Types ¶
This section is empty.