Module :
lang.string
Module Overview
This module provides lang library string operations defined by the language specification 2020R1.
| codePointCompare |
I
Lexicographically compares strings using their Unicode code points. |
| concat |
I
Concatenates zero or more strings. |
| endsWith |
I
Tests whether a string ends with another string. |
| equalsIgnoreCaseAscii |
I
Tests whether two strings are the same, ignoring the case of ASCII characters. |
| fromBytes |
I
Constructs a string from its UTF-8 representation in |
| fromCodePointInt |
I
Constructs a single character string from a code point. |
| fromCodePointInts |
I
Constructs a string from an array of code points. |
| getCodePoint |
I
Returns the code point of a character in a string. |
| indexOf |
I
Finds the first occurrence of one string in another string. |
| iterator |
I
Returns an iterator over the string. |
| join |
I
Joins zero or more strings together with a separator. |
| lastIndexOf |
I
Finds the last occurrence of one string in another string. |
| length |
I
Returns the length of the string. |
| startsWith |
I
Tests whether a string starts with another string. |
| substring |
I
Returns a substring of a string. |
| toBytes |
I
Represents |
| toCodePointInt |
I
Converts a single character string to a code point. |
| toCodePointInts |
I
Converts a string to an array of code points. |
| toLowerAscii |
I
Converts occurrences of A-Z to a-z. |
| toUpperAscii |
I
Converts occurrences of a-z to A-Z. |
| trim |
I
Removes ASCII white space characters from the start and end of a string. |