stringx

package
v1.10.50 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String struct {
	// contains filtered or unexported fields
}

func From

func From(data string) String

func (String) IsEmptyOrSpace

func (s String) IsEmptyOrSpace() bool

func (String) Lower

func (s String) Lower() string

func (String) ReplaceAll

func (s String) ReplaceAll(old, new string) string

func (String) Source

func (s String) Source() string

func (String) Title

func (s String) Title() string

func (String) ToCamel

func (s String) ToCamel() string

snake->camel(upper start)

func (String) ToSnake

func (s String) ToSnake() string

camel->snake

func (String) Untitle

func (s String) Untitle() string

return original string if rune is not letter at index 0

func (String) Upper

func (s String) Upper() string

Jump to

Keyboard shortcuts

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