Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidSequence = fmt.Errorf("Invalid sequence") ErrInvalidEscape = fmt.Errorf("Unsupported escape sequence") )
Functions ¶
func Join ¶
Join elements with the provided delimiter, escaping that delimiter when it occurs in an input component.
func Split ¶
Split a string using a delimiter, which may be esacaped by an escape character. When escaped, it is treated as a literal instead of a delimiter. The input string up to the the first delimiter and everything after the first delimiter is returned. If there are no delimiters in the string the entire input string is the first return value. If the input string is empty or only contains a single delimiter, both return values will be empty strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.