package
0.4.4
Repository: https://github.com/ayonli/goext.git
Documentation: pkg.go.dev

# Functions

Returns the character from the string according to the given index.
Breaks the string into smaller chunks according to the given length.
Returns the index at which a given sub string can be found in the string, or -1 if it is not present.
Returns the last index at which a given sub string can be found in the string, or -1 if it is not present.
Returns the number of the characters in the string.
Pads the given string with another string (multiple times, if needed) until the resulting string reaches the final length.
Pads the given string with another string (multiple times, if needed) until the resulting string reaches the final length.
Executes a search for a match between a regular expression and the string, returning the index of the first match in the string.
Returns a section of the string selected from `start` to `end` (excluded).
Returns a section of the string selected from `start` to `end` (excluded).
Truncates the given string to the given length (including the ending `...`).