Documentation
¶
Overview ¶
Deprecated: This package is deprecated.Be instead of strlib
Index ¶
- Variables
- func ContainHan(str string) booldeprecated
- func Reverse(s string) string
- func StringOrEmpty(s *string) stringdeprecated
- func ToBool(s string, fn ...func(s string) bool) booldeprecated
- func ToFloat[T constraints.Float](s string, missing T) Tdeprecated
- func ToInteger[T constraints.Integer](s string, missing T) Tdeprecated
- func Trim(str string, characterMask ...string) string
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTrimChars = string([]byte{
'\t',
'\v',
'\n',
'\r',
'\f',
' ',
0x00,
0x85,
0xA0,
})
DefaultTrimChars are the characters which are stripped by Trim* functions in default. Deprecated:
Functions ¶
func ContainHan
deprecated
func StringOrEmpty
deprecated
func ToFloat
deprecated
func ToFloat[T constraints.Float](s string, missing T) T
Deprecated:
func ToInteger
deprecated
func ToInteger[T constraints.Integer](s string, missing T) T
Deprecated:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.