stringo

package
v0.0.0-...-bc5e03d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: AFL-3.0, CC-BY-3.0 Imports: 3 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandString

func RandString(l int) string

RandString get random string from "0123456789abcdefghijklmnopqrstuvwxyz"

func StrDetect

func StrDetect(s string, pattern string) bool

StrDetect Detect string pattern

func StrExtract

func StrExtract(s string, pattern string, n int) (arr []string)

StrExtract extract string with pattern

func StrRemoveAll

func StrRemoveAll(s string, pattern string) string

StrRemoveAll remove string with pattern

func StrReplaceAll

func StrReplaceAll(s string, pattern string, repl string) string

StrReplaceAll replace string with pattern

func StrSplit

func StrSplit(s string, pattern string, n int) (arr []string)

StrSplit Split string with pattern

Types

This section is empty.

Jump to

Keyboard shortcuts

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