strings

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSpace

func AddSpace(s string) string

AddSpace

Add space between uppercase letters, for example HelloWorld will convert to Hello World.

func Between

func Between(value, a, b string) string

Between

Between Gets substring between two strings.

func InSlice

func InSlice(a string, list []string) bool

InSlice

Check if a string exists in a slice

func Random

func Random(n int64, numeric bool) string

Random

Generates a random string of n length. Contains numeric characters if set to true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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