native_methods/string_methods
library
Classes
-
CodeUnitAt
-
Returns the code unit at the specified index.
-
CompareTo
-
Compares the string to another string and returns the result of the comparison.
Returns 0 if the strings are equal, a negative number if the string is less than the other string, and a positive number if the string is greater than the other string.
-
Contains
-
Returns true if the string contains the specified substring.
-
Head
-
Returns the first character of the string.
-
IsEmpty
-
Returns true if the string is empty.
-
IsLowerCase
-
Returns true if all letters in the string are lowercase, ignoring non-alphabetic characters.
-
IsNotEmpty
-
Returns true if the string is not empty.
-
IsUpperCase
-
Returns true if all letters in the string are uppercase, ignoring non-alphabetic characters.
-
Length
-
Returns the length of the string.
-
ReplaceAll
-
Replaces all occurrences of a specified substring with another substring.
-
Split
-
Splits the string into a list of substrings separated by the specified separator.
-
SubString
-
Returns a new string that is a substring of the original string.
-
Tail
-
Returns a new string that is the original string without its first character.
-
ToLower
-
Returns a new string that is the original string in lowercase.
-
ToUpper
-
Returns a new string that is the original string in uppercase.
-
Trim
-
Returns a new string with leading and trailing whitespace removed.