str

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 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 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.

func UtfToAscii added in v0.2.0

func UtfToAscii(s string) (string, error)

UtfToAscii converts all UTF8 runes into closest related ASCII characters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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