strs

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2023 License: MulanPSL-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bytes2Str

func Bytes2Str(bs []byte) string

func EnableString added in v0.2.5

func EnableString(s string) bool

func EqualFoldN added in v0.2.5

func EqualFoldN(s, t string, n int) bool

func EqualN added in v0.2.5

func EqualN(s, t string, n int) bool

func IsBinary

func IsBinary(s string) bool

能否表示为二进制

func IsDecimal

func IsDecimal(s string) bool

能否表示为十进制

func IsHex

func IsHex(s string) bool

能否表示为十六进制

func IsOctal

func IsOctal(s string) bool

能否表示为八进制

func ParseBytes added in v0.2.5

func ParseBytes(s string) uint64

func Stoi

func Stoi(s string) int

func StrDataAddr

func StrDataAddr(s string) uintptr

取字符串底层数组地址

func Utoa_cn

func Utoa_cn(n uint64) string

万位分割法显示数字

func WithPrefixFold added in v0.2.5

func WithPrefixFold(s, prefix string) bool

like strings.HasPrefix

func WithSuffixFold added in v0.2.5

func WithSuffixFold(s, suffix string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL