xstring

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FirstCharacterIsLower

func FirstCharacterIsLower(s string) bool

FirstCharacterIsLower 首字符是否是小写

func FirstCharacterIsNumber

func FirstCharacterIsNumber(s string) bool

FirstCharacterIsNumber 首字符是否是数字

func FirstCharacterIsSymbol

func FirstCharacterIsSymbol(s string) bool

FirstCharacterIsSymbol 首字符是否是符号

func FirstCharacterIsUpper

func FirstCharacterIsUpper(s string) bool

FirstCharacterIsUpper 首字符是否是大写

func Length

func Length(s string) int

Length 获取字符串长度

func PaddingPrefix added in v2.1.0

func PaddingPrefix(s, padding string, length int) string

PaddingPrefix 填充前缀

func PaddingSuffix added in v2.1.0

func PaddingSuffix(s, padding string, length int) string

PaddingSuffix 填充后缀

Types

This section is empty.

Jump to

Keyboard shortcuts

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