stringx

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64FromByte

func Base64FromByte(b []byte) string

func Base64FromByteToByte

func Base64FromByteToByte(b []byte) []byte

func Base64FromString

func Base64FromString(s string) string

func ClearCommaInline

func ClearCommaInline(text string) string

func ClearUnicode

func ClearUnicode(text string) string

func Find

func Find(a []string, x string) bool

func GetStackTrace

func GetStackTrace(e interface{}) string

func HasCode

func HasCode(id string, index int) string

func IsEmpty

func IsEmpty(value string) bool

func IsNotEmpty

func IsNotEmpty(value string) bool

func IsNotEmptyPtr

func IsNotEmptyPtr(value *string) bool

func IsNotNull

func IsNotNull[T any](value *T) bool

func Join added in v1.0.11

func Join[T any](source []T, sep string) string

func NormalizeText

func NormalizeText(text string) string

func ParseConnectionString

func ParseConnectionString[T any](connectionString string, target *T) error

func QueryUnescape

func QueryUnescape(encoded string) string

func RemoveDoubleQuote

func RemoveDoubleQuote(text string) string

func RemoveExtension

func RemoveExtension(filename string) string

func SplitDash

func SplitDash(input string) []string

func StringInSlice

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

func StringInSliceTrimLower

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

func TrimBy

func TrimBy(data string, separator string) string

func TrimLower

func TrimLower(text string) string

func TrimToLower

func TrimToLower(text string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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