stringutils

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(str string, match string) bool

func IsEnclosedBy

func IsEnclosedBy(str string, charA, charB string) bool

Checks if a string is Enclosed by `char` and are not Escaped

func IsEscaped

func IsEscaped(str string, char string) bool

Checks if a string is completly Escaped with `\`

func NeedsEscapeForRegex

func NeedsEscapeForRegex(char rune) bool

func ToArray

func ToArray(sliceStr string) []string

func ToType

func ToType(str string) any

Types

This section is empty.

Jump to

Keyboard shortcuts

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