text

package
v0.0.0-...-d42ca00 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	DOT        string = "."
	DOUBLE_DOT string = ".."
	SLASH      string = "/"
	BACKSLASH  string = "\\"
	CR         string = "\r"
	LF         string = "\n"
	CRLF       string = "\r\n"
	UNDERLINE  string = "_"
	DASHED     string = "-"
	COMMA      string = ","

	INDEX_NOT_FOUND int8   = finder.INDEX_NOT_FOUND
	NULL            string = "NULL"
	EMPTY           string = ""
	SPACE           string = " "
)

Variables

This section is empty.

Functions

func CamelCaseToUnderscore

func CamelCaseToUnderscore(str string) string

func Contains

func Contains(str, substring string) bool

Contains checks if the string contains the substring.

func Diff

func Diff(base, exclude []string) (result []string)

Creates an slice of slice values not included in the other given slice.

func Equals

func Equals(seq1 string, seq2 string) bool

Equals return seq1 equal to seq2

func EqualsIgnoreCase

func EqualsIgnoreCase(seq1 string, seq2 string, ignoreCase bool) bool

func FindString

func FindString(array []string, str string) int

func IsBlank

func IsBlank(str string) bool

IsBlank return str is all blank

func IsBlankRune

func IsBlankRune(c rune) bool

IsBlankRune return rune is blank

func IsBlankRunes

func IsBlankRunes(runes []rune) bool

IsBlankRunes return rune is all blank

func IsEmpty

func IsEmpty(str string) bool

IsEmpty return str is empty

func Reverse

func Reverse(s string) string

func StringIn

func StringIn(str string, array []string) bool

func Trim

func Trim(str string) string

Trim returns a slice of the string s, with all leading and trailing white space removed, as defined by Unicode.

func Trims

func Trims(str []string) []string

Trims returns a slice of the string s, with all leading and trailing white space removed, as defined by Unicode.

func UnderscoreToCamelCase

func UnderscoreToCamelCase(str string) string

func Unique

func Unique(ss []string) (result []string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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