str

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsASCII

func IsASCII(s string) bool

IsASCII checks if a string contains only ASCII characters.

func NormUTF

func NormUTF(s string) (string, error)

NormUTF converts all UTF8 runes into closest related ASCII characters.

func Reverse

func Reverse(s string) string

Reverse changes order of runes in a string to opposite.

func SplitAny

func SplitAny(s string, seps string) []string

SplitAny splits a string `s` by any rune in `seps` string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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