Retrieves the character at specified index.
Returns null if index is greater than the length of the string, or if the string argument is not a valid string
Usage:
Str.at(1, "hello") // e
Concatenate strings together
the concatenated string
Checks if a string ends with the given substring
number indicating whether the reference string comes before or after the comparison string
Usage:
Str.localeCompare('réservé', 'RESERVE') // 1
Check if a string is included as a substring of another string
Usage:
Str.includes("Jim", "My name might just be Jim Pickens...") // true
Indicates if value is a string or an instance of String
Usage:
Str.isString("hello") // true
Str.isString(new String("hello")) // true
Str.isString([]) // false
Wrapper around String.prototype.localeCompare
Cannot yet be curried because it can take varargs
number indicating whether the reference string comes before or after the comparison string
Usage:
Str.localeCompare('réservé', 'RESERVE') // 1
The Str module provides utility methods for dealing with strings.