strings

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAllString

func FindAllString(s string, regex string, trimRegex string) []string

func FindAllStringIndex added in v0.2.0

func FindAllStringIndex(s string, regex string) [][]int

func Indexes

func Indexes(s, substr string) []int

func IndexesByRegex

func IndexesByRegex(s, regex string) []int

func IsNumericScreamingSnakeCase

func IsNumericScreamingSnakeCase(s string) bool

func ReplaceSubstring added in v0.2.0

func ReplaceSubstring(s string, newSub string, start int, end int) string

func SeparateKeyValue added in v0.2.0

func SeparateKeyValue(s, separator, trimRegex string) (bool, string, string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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