tystring

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaseCMP

func CaseCMP(a, b string) int

CaseCMP: a < b => -1; a > b => 1; a == b => 0

func FindString

func FindString(array []string, target string) int

func IsAlpha

func IsAlpha(ch uint8) bool

func IsSpace added in v1.2.0

func IsSpace(t byte) bool

func SplitMapString added in v1.1.0

func SplitMapString(source string, isSep func(byte) bool, handler func(string, string))

func SplitStrings added in v1.2.0

func SplitStrings(source string, isSep func(byte) bool, handler func(string) bool)

func SubString

func SubString(str string, begin, size int) string

func ToLower

func ToLower(ch uint8) uint8

func TrimString added in v1.1.0

func TrimString(value string, isSep func(byte) bool) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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