string

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type String

type String []rune

func New

func New(s interface{}) String

func (String) Contains

func (s String) Contains(sub interface{}) bool

func (String) Equal

func (s String) Equal(sub interface{}) bool

func (String) HasPrefix

func (s String) HasPrefix(seq interface{}) bool

func (String) HasSuffix

func (s String) HasSuffix(seq interface{}) bool

func (String) Index

func (s String) Index(sub interface{}) int

func (String) Ltrim

func (s String) Ltrim(seq interface{}) String

func (String) Replace

func (s String) Replace(old interface{}, new interface{}, counts ...int) String

func (String) Rtrim

func (s String) Rtrim(seq interface{}) String

func (String) Split

func (s String) Split(seq interface{}) []string

func (String) String

func (s String) String() string

func (String) Trim

func (s String) Trim(seq interface{}) String

Jump to

Keyboard shortcuts

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