Module : lang.string
Module Overview
This module provides lang library string operations defined by the language specification 2019R2.
$anonType$2 |
codePointCompare | Lexicographically compare strings using their Unicode code points. This will allow strings to be ordered in a consistent and well-defined way, but the ordering will not typically be consistent with cultural expectations for sorted order. |
concat | Concatenate all the |
endsWith | Returns true if |
fromBytes | Convert back to a string from its UTF-8 representation in |
fromCodePointInts | Creates a string from an array of ints representing its code points.
Returns an error if any member of |
getCodePoint | Returns the unicode codepoint at index |
indexOf | Returns the index of the first occurrence of |
iterator | Returns an iterator over the string The iterator will return the substrings of length 1 in order. |
join | Returns a new string composed of |
length | Returns the length of the string. |
startsWith | Returns true if |
substring | Returns a string that is a substring of this string. |
toBytes | Represents |
toCodePointInts | Returns an array with an int for each code point in |
toLowerAscii | Return A-Z into a-z and leave other characters unchanged. |
toUpperAscii | Return a-z into A-Z and leave other characters unchanged. |
trim | Remove ASCII white space characters (0x9...0xD, 0x20) from start and end of |