Documentation
¶
Index ¶
- type Str
- func (*Str) Center(s string, width int, extra ...interface{}) interface{}
- func (*Str) Chars(s string) interface{}
- func (*Str) Contains(s, substr string) interface{}
- func (*Str) Count(s, substr string) interface{}
- func (*Str) EachLine(s string) interface{}
- func (*Str) Empty(s string) interface{}
- func (*Str) EndsWith(s, suffix string) interface{}
- func (*Str) Fields(s string) interface{}
- func (*Str) Index(s, substr string) interface{}
- func (*Str) Join(v interface{}, sep string) interface{}
- func (*Str) LastIndex(s, substr string) interface{}
- func (*Str) Lower(s string) interface{}
- func (*Str) PadLeft(s string, width int, extra ...interface{}) interface{}
- func (*Str) PadRight(s string, width int, extra ...interface{}) interface{}
- func (*Str) Repeat(s string, n int) interface{}
- func (*Str) Replace(s, old, new string) interface{}
- func (*Str) Reverse(s string) interface{}
- func (*Str) RuneCount(s string) interface{}
- func (*Str) Slice(s string, start, end int) interface{}
- func (*Str) Split(s, sep string) interface{}
- func (*Str) StartsWith(s, prefix string) interface{}
- func (*Str) Trim(s string) interface{}
- func (*Str) TrimPrefix(s, prefix string) interface{}
- func (*Str) TrimSuffix(s, suffix string) interface{}
- func (*Str) Upper(s string) interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Str ¶
type Str struct{}
func (*Str) StartsWith ¶
func (*Str) TrimPrefix ¶ added in v0.22.0
func (*Str) TrimSuffix ¶ added in v0.22.0
Click to show internal directories.
Click to hide internal directories.