|
|
Returns the length of the string.
|
substr(string, start, length)
|
Returns a substring of the string starting at start with the given length.
|
|
|
Returns the starting position of substring in string, or 0 if not found.
|
split(string, array, separator)
|
Splits the string into elements of the array using separator as the delimiter. Returns the number of elements.
|
|
|
Returns the starting position of the regular expression regex in string, or 0 if not found. Sets RSTART and RLENGTH.
|
gsub(regex, replacement, string)
|
Globally substitutes all matches of the regular expression regex in string with replacement. Returns the number of substitutions made.
|
|
|
Converts the string to lowercase.
|
|
|
Converts the string to uppercase.
|
sprintf(format, expr1, expr2, ...)
|
Formats expressions expr1, expr2, … according to the format string format (similar to C’s sprintf).
|