strings

package
v0.5.23 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicWordWrap

func BasicWordWrap(input string, maxChars int) (output string)

func CleanCRLF

func CleanCRLF(s string) string

func EqualStringSlices added in v0.5.8

func EqualStringSlices(a, b []string) (same bool)

func HasSpace

func HasSpace(text string) bool

func IsBoolean

func IsBoolean(text string) bool

func IsEmpty

func IsEmpty(text string) bool

func IsFalse

func IsFalse(text string) bool

func IsTrue

func IsTrue(text string) bool

func IsUrl

func IsUrl(str string) (isUrl bool)

func MakeObjectName

func MakeObjectName(tag, user, address string) (name string)

func NLSprintf

func NLSprintf(format string, argv ...interface{}) string

func PadLeft

func PadLeft(src, pad string, length int) string

func PadRight

func PadRight(src, pad string, length int) string

func StringIsDomainName added in v0.5.8

func StringIsDomainName(input string) bool

func StringIsIP added in v0.5.8

func StringIsIP(input string) bool

func StringIsIPv4 added in v0.5.8

func StringIsIPv4(input string) bool

func StringIsIPv6 added in v0.5.8

func StringIsIPv6(input string) bool

func StringSliceHasValue

func StringSliceHasValue(slice []string, value string) (has bool)

func StripTags

func StripTags(input string) (output string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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