gstr

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func First

func First(s string, end int) string

func ParseUint32 added in v0.22.1

func ParseUint32(s string) (uint32, error)

func ParseUint8 added in v0.22.1

func ParseUint8(s string) (uint8, error)

func Partition added in v0.22.1

func Partition(s string, c byte) (string, string)

Partition split string in 2 part.

Partition("1=2", '=') => "1", "2"
Partition("123", '=') => "123", ""

func Split added in v0.22.1

func Split(s string, c 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