This module provides lang library string operations defined by the language specification 2019R3.
Lexicographically compares strings using their Unicode code points. This orders strings in a consistent and well-defined way, but the ordering will often not be consistent with cultural expectations for sorted order.
Concatenates zero or more strings.
Tests whether a string ends with another string.
Constructs a string from its UTF-8 representation in
Constructs a string from an array of code points. An int is a valid code point if it is in the range 0 to 0x10FFFF inclusive, but not in the range 0xD800 or 0xDFFF inclusive.
Returns the code point of a character in a string.
Searches for one string in another string.
Returns an iterator over the string. The iterator will yield the substrings of length 1 in order.
Joins zero or more strings together with a separator.
Returns the length of the string.
Tests whether a string starts with another string.
Returns a substring of a string.
Converts a string to an array of code points.
Converts occurrences of A-Z to a-z. Other characters are left unchanged.
Converts occurrences of a-z to A-Z. Other characters are left unchanged.
Removes ASCII white space characters from the start and end of a string. The ASCII white space characters are 0x9...0xD, 0x20.