Documentation
ΒΆ
Overview ΒΆ
Package stringslite implements a subset of strings, only using packages that may be imported by "os".
Tests for these functions are in the strings package.
Index ΒΆ
- func Clone(s string) string
- func Cut(s, sep string) (before, after string, found bool)
- func CutPrefix(s, prefix string) (after string, found bool)
- func CutSuffix(s, suffix string) (before string, found bool)
- func HasPrefix(s, prefix string) bool
- func HasSuffix(s, suffix string) bool
- func Index(s, substr string) int
- func IndexByte(s string, c byte) int
- func TrimPrefix(s, prefix string) string
- func TrimSuffix(s, suffix string) string
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
func TrimPrefix ΒΆ
func TrimSuffix ΒΆ
Types ΒΆ
This section is empty.
Click to show internal directories.
Click to hide internal directories.