Documentation ¶
Index ¶
- func At(s string, index int) string
- func CamelCase(s string) string
- func Capitalize(sentence string) string
- func CodePoint(input string) []int
- func CodePointAt(s string, index int) int
- func Concat(s ...string) string
- func Count(s string, substr ...string) int
- func EndsWith(s string, substr string) bool
- func Escape(s string) string
- func FIndex(s string, substr string) int
- func FromCodePoint(codePoint ...int) string
- func FromCodePointAt(codePoint int) string
- func Includes(s string, substr string) bool
- func Index(s, substr string) (int, int)
- func IsDigit[T byte | rune](char T) bool
- func IsLetter[T byte | rune](char T) bool
- func IsLower[T byte | rune](char T) bool
- func IsUpper[T byte | rune](char T) bool
- func Join(s []string, separator string) string
- func KebabCase(s string) string
- func LIndex(s string, substr string) int
- func LTrim(s string) string
- func Lines(s string) int
- func Lower[T byte | rune](char T) T
- func LowerFirst(s string) string
- func Lowers(s string) string
- func PadEnd(s string, addAmount int, padChar byte) string
- func PadStart(s string, addAmount int, padChar byte) string
- func RTrim(s string) string
- func RandomNum(n int) string
- func RandomStr(n int) string
- func Repeat(s string, count int) string
- func Replace(s string, old string, new string) string
- func Reverse(s string) string
- func Slice(s string, index ...int) string
- func SnakeCase(s string) string
- func Splice(s string, start, replaceCount int, items ...string) string
- func Split(s string, separator string) []string
- func StartsWith(s string, substr string) bool
- func SubStr(s string, start int, length ...int) string
- func Trim(s string) string
- func TrimBlank(s string) string
- func TrimPrefix(s, prefix string) string
- func TrimSuffix(s, suffix string) string
- func Truncate(s string, length int, omission ...string) string
- func Unescape(s string) string
- func Upper[T byte | rune](char T) T
- func UpperFirst(s string) string
- func Uppers(s string) string
- func Words(s string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Capitalize ¶
func CodePointAt ¶
func FromCodePoint ¶
func FromCodePointAt ¶
func LowerFirst ¶
func StartsWith ¶
func TrimPrefix ¶
func TrimSuffix ¶
func UpperFirst ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.