str

package
v0.0.0-...-a97374a Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Str

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

func NewStr

func NewStr(s string) Str

func StrOf

func StrOf(s string) *Str

func (*Str) Append

func (s *Str) Append(sub string) *Str

func (Str) Contains

func (s Str) Contains(substring string) bool

func (*Str) Lower

func (s *Str) Lower() *Str

func (*Str) Prepend

func (s *Str) Prepend(sub string) *Str

func (*Str) Replace

func (s *Str) Replace(needle string, with string) *Str

func (*Str) Split

func (s *Str) Split(sep string) []string

func (*Str) String

func (s *Str) String() string

func (*Str) TrimSpace

func (s *Str) TrimSpace() *Str

func (*Str) TrimSpaceLeft

func (s *Str) TrimSpaceLeft() *Str

func (*Str) TrimSpaceRight

func (s *Str) TrimSpaceRight() *Str

func (*Str) Upper

func (s *Str) Upper() *Str

Jump to

Keyboard shortcuts

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