strs

package
v0.0.146 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApendAny

func ApendAny(space string, args ...any) string

func Append

func Append(str1, str2, sp string) string

func AppendAny

func AppendAny(val1, val2 any, sp string) string

func Contains added in v0.0.138

func Contains(str string, substr string) bool

func Empty

func Empty(str1, str2 string) string

func Format

func Format(format string, args ...any) string

func FormatLowCase

func FormatLowCase(format string, args ...any) string

func FormatUppCase

func FormatUppCase(format string, args ...any) string

func GetSplitIndex

func GetSplitIndex(str, sep string, idx int) string

func HtmlToText added in v0.0.97

func HtmlToText(html string) string

func Lowcase

func Lowcase(s string) string

func Name

func Name(str string) string

func NotSpace

func NotSpace(str string) string

func RemoveAcents

func RemoveAcents(str string) string

func Replace

func Replace(str string, old string, new string) string

func ReplaceAll

func ReplaceAll(str string, olds []string, new string) string

func Split

func Split(str, sep string) []string

func StrToBool added in v0.0.78

func StrToBool(val string) (bool, error)

func StrToTime

func StrToTime(val string) (time.Time, error)

func Titlecase

func Titlecase(str string) string

func Trim

func Trim(str string) string

func Uppcase

func Uppcase(s 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