Documentation ¶
Overview ¶
Package str :: reverse.go
Package str :: reverseWords.go
Package str :: runes.go
Package str :: sort.go
Package str :: str.go
Index ¶
- Variables
- func ByCaseInsensitive(s []string)
- func CompareByLength(a, b *string) int
- func ComparebyCaseInsensitive(a, b *string) int
- func LessByCaseInsensitivity(a, b *string) bool
- func LessByLength(a, b *string) bool
- func Reverse(s string) string
- func ReverseWords(s string) string
- type By
- type Runes
- type Str
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ByCaseInsensitivity is a By function for string sorting ByCaseInsensitivity = By(LessByCaseInsensitivity) // ByLength is a By function for string sorting ByLength = By(LessByLength) )
Functions ¶
func ByCaseInsensitive ¶
func ByCaseInsensitive(s []string)
ByCaseInsensitive sort case-insensitive strings
func CompareByLength ¶
CompareByLength compares strings by length
func ComparebyCaseInsensitive ¶
ComparebyCaseInsensitive compares strings by case-insensitivity
func LessByCaseInsensitivity ¶
LessByCaseInsensitivity compares strings by case-insensitivity
Types ¶
Click to show internal directories.
Click to hide internal directories.