utilStr

package
v0.0.0-...-5f3621a Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MulanPSL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func After

func After(haystack string, needle string) string

func AfterLast

func AfterLast(haystack string, needle string) string

func Before

func Before(haystack string, needle string) string

func BeforeFirst

func BeforeFirst(haystack string, needle string) string

func CamelString

func CamelString(s string) string

func IsDigit

func IsDigit(s string) bool

func RandPassword

func RandPassword(n int, no_special ...bool) string

func RandString

func RandString(n int, chars ...string) string

func SnakeString

func SnakeString(s string) string

func StrIsEndWith

func StrIsEndWith(haystack string, needle string) bool

func StrIsStartWith

func StrIsStartWith(haystack string, needle string) bool

func SubString

func SubString(source string, start int, length int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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