1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| func NewReader(s string) *Reader
func NewReplacer(oldnew ...string) *Replacer
func HasPrefix(s, prefix string) bool
func HasSuffix(s, suffix string) bool
func Contains(s, substr string) bool
func ContainsAny(s, chars string) bool
func Count(s, sep string) int
func Index(s, sep string) int
func IndexByte(s string, c byte) int
func LastIndex(s, chars string) int
func Title(s string) string
func ToLower(s string) string
func ToUpper(s string) string
func Repeat(s string, count int) string
func Replace(s, old, new string, n int) string
func Trim(s string, cutset string) string
func TrimSpace(s string) string
func TrimLeft(s string, cutset string) string
func TrimRight(s string, cutset string) string
func Split(s, sep string) []string
func SplitN(s, sep string, n int) []string
func Join(a []string, sep string) string
|