strings

package
v0.0.0-...-d96f53a Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFirstToken

func FindFirstToken(src []byte) int

func MaybeUnescapeString

func MaybeUnescapeString(str string) string

func Split2

func Split2(s string, separator rune) (string, string)

split 's' into a prefix and suffix separated by 'separator'. suffix is trimmed with strings.TrimSpace() before returning it

func TailIdentifier

func TailIdentifier(s string) string

func UnescapeChar

func UnescapeChar(str string) (rune, error)

func UnescapeString

func UnescapeString(str 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