# Functions
Contains returns true if s contains substr.
EndsWith returns true if s ends with suffix.
Equals returns true if s1 and s2 are equal.
Format formats a string with template bracket {key}}} and value map.
HasPrefix returns true if s starts with prefix.
HasSuffix returns true if s ends with suffix.
IndexOf returns the index of the first occurrence of substr in s, or -1 if substr is not found.
Join joins the elements of a to create a single string.
LowerCase returns a copy of s with all uppercase letters converted to lowercase.
MustToBool converts a string to a boolean.
MustToFloat converts a string to a float64.
MustToFloat32 converts a string to a float32.
MustToFloat64 converts a string to a float64.
MustToInt converts a string to an integer.
MustToInt64 converts a string to an integer.
No description provided by the author
PadLeft ...
PadRight ...
PadZero ...
Random returns a random string of length n.
Repeat returns a new string consisting of n copies of the string s.
Replace returns a copy of s with the first n non-overlapping instances of old replaced by new.
ReplaceAll returns a copy of s with all non-overlapping instances of old replaced by new.
ReplaceAllFunc returns a copy of s with all non-overlapping instances of the function f applied to old replaced by new.
Slice returns a substring of s.
Split splits a string into a slice of strings.
SplitN splits a string into a slice of strings.
StartsWith returns true if s starts with prefix.
Template formats a template string with go template syntax.
ToBool converts a string to a boolean.
ToFloat converts a string to a float64.
ToFloat32 converts a string to a float32.
ToFloat64 converts a string to a float64.
ToInt converts a string to an integer.
ToInt64 converts a string to an integer.
ToLower returns a copy of s with all uppercase letters converted to lowercase.
ToTitle returns a copy of the string s with all Unicode letters that begin.
ToUpper returns a copy of s with all lowercase letters converted to uppercase.
Trim returns a substring of s without leading and trailing cutsets.
TrimLeft returns a substring of s without leading cutsets.
TrimPrefix returns s without the provided leading prefix string.
TrimRight returns a substring of s without trailing cutsets.
TrimSpace returns a substring of s without leading and trailing spaces.
TrimSuffix returns s without the provided trailing suffix string.
UpperCase returns a copy of s with all lowercase letters converted to uppercase.
# Constants
FormatRe is the regular expression for format.
# Interfaces
No description provided by the author
# Type aliases
Value is the value string to spfcast to new type with spf13/.