Chainable Ops
string-notEqual
Determines inequality of two values.
| Argument | Description | 
|---|---|
| lhs | The first value to compare. | 
| rhs | The second value to compare. | 
Return Value
Whether the two values are not equal.string-add
Concatenates two strings
Return Value
The concatenated stringstring-equal
Determines equality of two values.
| Argument | Description | 
|---|---|
| lhs | The first value to compare. | 
| rhs | The second value to compare. | 
Return Value
Whether the two values are equal.string-append
Appends a suffix to a string
| Argument | Description | 
|---|---|
| str | The string to append to | 
| suffix | The suffix to append | 
Return Value
The string with the suffix appendedstring-contains
Checks if a string contains a substring
| Argument | Description | 
|---|---|
| str | The string to check | 
| sub | The substring to check for | 
Return Value
Whether the string contains the substringstring-endsWith
Checks if a string ends with a suffix
| Argument | Description | 
|---|---|
| str | The string to check | 
| suffix | The suffix to check for | 
Return Value
Whether the string ends with the suffixstring-findAll
Finds all occurrences of a substring in a string
| Argument | Description | 
|---|---|
| str | The string to find occurrences of the substring in | 
| sub | The substring to find | 
Return Value
The list of indices of the substring in the stringstring-isAlnum
Checks if a string is alphanumeric
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is alphanumericstring-isAlpha
Checks if a string is alphabetic
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is alphabeticstring-isNumeric
Checks if a string is numeric
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is numericstring-lStrip
Strip leading whitespace
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-len
Returns the length of a string
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
The length of the stringstring-lower
Converts a string to lowercase
| Argument | Description | 
|---|---|
| str | The string to convert to lowercase | 
Return Value
The lowercase stringstring-partition
Partitions a string into a list of the strings
| Argument | Description | 
|---|---|
| str | The string to split | 
| sep | The separator to split on | 
Return Value
A list of strings: the string before the separator, the separator, and the string after the separatorstring-prepend
Prepends a prefix to a string
| Argument | Description | 
|---|---|
| str | The string to prepend to | 
| prefix | The prefix to prepend | 
Return Value
The string with the prefix prependedstring-rStrip
Strip trailing whitespace
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-replace
Replaces all occurrences of a substring in a string
| Argument | Description | 
|---|---|
| str | The string to replace contents of | 
| sub | The substring to replace | 
| newSub | The substring to replace the old substring with | 
Return Value
The string with the replacementsstring-slice
Slices a string into a substring based on beginning and end indices
| Argument | Description | 
|---|---|
| str | The string to slice | 
| begin | The beginning index of the substring | 
| end | The ending index of the substring | 
Return Value
The substringstring-split
Splits a string into a list of strings
| Argument | Description | 
|---|---|
| str | The string to split | 
| sep | The separator to split on | 
Return Value
The list of stringsstring-startsWith
Checks if a string starts with a prefix
| Argument | Description | 
|---|---|
| str | The string to check | 
| prefix | The prefix to check for | 
Return Value
Whether the string starts with the prefixstring-strip
Strip whitespace from both ends of a string.
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-upper
Converts a string to uppercase
| Argument | Description | 
|---|---|
| str | The string to convert to uppercase | 
Return Value
The uppercase stringstring-levenshtein
Calculates the Levenshtein distance between two strings.
Return Value
The Levenshtein distance between the two strings.List Ops
string-notEqual
Determines inequality of two values.
| Argument | Description | 
|---|---|
| lhs | The first value to compare. | 
| rhs | The second value to compare. | 
Return Value
Whether the two values are not equal.string-add
Concatenates two strings
Return Value
The concatenated stringstring-equal
Determines equality of two values.
| Argument | Description | 
|---|---|
| lhs | The first value to compare. | 
| rhs | The second value to compare. | 
Return Value
Whether the two values are equal.string-append
Appends a suffix to a string
| Argument | Description | 
|---|---|
| str | The string to append to | 
| suffix | The suffix to append | 
Return Value
The string with the suffix appendedstring-contains
Checks if a string contains a substring
| Argument | Description | 
|---|---|
| str | The string to check | 
| sub | The substring to check for | 
Return Value
Whether the string contains the substringstring-endsWith
Checks if a string ends with a suffix
| Argument | Description | 
|---|---|
| str | The string to check | 
| suffix | The suffix to check for | 
Return Value
Whether the string ends with the suffixstring-findAll
Finds all occurrences of a substring in a string
| Argument | Description | 
|---|---|
| str | The string to find occurrences of the substring in | 
| sub | The substring to find | 
Return Value
The list of indices of the substring in the stringstring-isAlnum
Checks if a string is alphanumeric
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is alphanumericstring-isAlpha
Checks if a string is alphabetic
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is alphabeticstring-isNumeric
Checks if a string is numeric
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
Whether the string is numericstring-lStrip
Strip leading whitespace
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-len
Returns the length of a string
| Argument | Description | 
|---|---|
| str | The string to check | 
Return Value
The length of the stringstring-lower
Converts a string to lowercase
| Argument | Description | 
|---|---|
| str | The string to convert to lowercase | 
Return Value
The lowercase stringstring-partition
Partitions a string into a list of the strings
| Argument | Description | 
|---|---|
| str | The string to split | 
| sep | The separator to split on | 
Return Value
A list of strings: the string before the separator, the separator, and the string after the separatorstring-prepend
Prepends a prefix to a string
| Argument | Description | 
|---|---|
| str | The string to prepend to | 
| prefix | The prefix to prepend | 
Return Value
The string with the prefix prependedstring-rStrip
Strip trailing whitespace
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-replace
Replaces all occurrences of a substring in a string
| Argument | Description | 
|---|---|
| str | The string to replace contents of | 
| sub | The substring to replace | 
| newSub | The substring to replace the old substring with | 
Return Value
The string with the replacementsstring-slice
Slices a string into a substring based on beginning and end indices
| Argument | Description | 
|---|---|
| str | The string to slice | 
| begin | The beginning index of the substring | 
| end | The ending index of the substring | 
Return Value
The substringstring-split
Splits a string into a list of strings
| Argument | Description | 
|---|---|
| str | The string to split | 
| sep | The separator to split on | 
Return Value
The list of stringsstring-startsWith
Checks if a string starts with a prefix
| Argument | Description | 
|---|---|
| str | The string to check | 
| prefix | The prefix to check for | 
Return Value
Whether the string starts with the prefixstring-strip
Strip whitespace from both ends of a string.
| Argument | Description | 
|---|---|
| str | The string to strip. | 
Return Value
The stripped string.string-upper
Converts a string to uppercase
| Argument | Description | 
|---|---|
| str | The string to convert to uppercase |