Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsASCIIText ¶
Returns true if s is a non-empty printable non-tab ascii character.
func SplitAndTrim ¶
SplitAndTrim slices s into all subslices separated by sep and returns a slice of the string s with all leading and trailing Unicode code points contained in cutset removed. If sep is empty, SplitAndTrim splits after each UTF-8 sequence. First part is equivalent to strings.SplitN with a count of -1.
func SplitAndTrimEmpty ¶
SplitAndTrimEmpty slices s into all subslices separated by sep and returns a slice of the string s with all leading and trailing Unicode code points contained in cutset removed. If sep is empty, SplitAndTrim splits after each UTF-8 sequence. First part is equivalent to strings.SplitN with a count of -1. also filter out empty strings, only return non-empty strings.
func StringInSlice ¶
StringInSlice returns true if a is found the list.
func StringSliceEqual ¶
StringSliceEqual checks if string slices a and b are equal.
Types ¶
This section is empty.