| public static |
_slice |
Internal helper used by the compiler to implement slice syntax. |
| public static |
_sliceAssign |
Internal helper used by the compiler to implement string slice assignment. |
| public native |
capitalize |
Capitalizes the string in place (first character only). |
| public |
center |
Centers this string to the target width. |
| public |
count |
Counts non-overlapping occurrences of a substring. |
| public |
endsWith |
Returns true if this string ends with the provided value. |
| public |
endsWith |
Returns true if this string ends with at least one suffix from the provided list. |
| public native |
endsWith |
Returns true if this string ends with the provided suffix. |
| public |
equalsIgnoreCase |
Compares two strings without case sensitivity. |
| public native |
indexOf |
Finds the first index of a substring starting from a position. |
| public |
isAlnum |
Returns true if all characters are Unicode letters or digits. |
| public |
isAlpha |
Returns true if all characters are Unicode alphabetic characters. |
| public |
isBlank |
Returns true if the string is empty or only contains spaces. |
| public |
isDigit |
Returns true if all characters are Unicode digits. |
| public |
isLower |
Returns true if all cased characters are lowercase and at least one cased character exists. |
| public |
isSpace |
Returns true if all characters are whitespace. |
| public |
isUpper |
Returns true if all cased characters are uppercase and at least one cased character exists. |
| public |
join |
Joins an array of characters using this string as separator. |
| public |
join |
Joins an array of strings using this string as separator. |
| public |
join |
Joins a list of strings using this string as separator. |
| public native |
lastIndexOf |
Finds the last index of a substring up to a position. |
| public |
lines |
Splits this string into lines without keeping line terminators. |
| public |
lower |
Converts the string to lowercase in place. |
| public |
lpad |
Left pads this string to the target width. |
| public |
ltrim |
Removes leading whitespace in place. |
| public |
matches |
Tests the string against a regular expression. |
| public native |
removeAccents |
Removes accents in place. |
| public native |
removeSGR |
Returns the string with ANSI SGR escape sequences removed. |
| public native |
replace |
Returns a copy where all occurrences of oldValue are replaced by newValue. |
| public native |
replaceFirst |
Returns a copy where the first occurrence of oldValue is replaced by newValue. |
| public native |
replaceLast |
Returns a copy where the last occurrence of oldValue is replaced by newValue. |
| public |
rpad |
Right pads this string to the target width. |
| public |
rtrim |
Removes trailing whitespace in place. |
| public native |
split |
Splits the string using a string delimiter. |
| public native |
startsWith |
Returns true if this string starts with the provided prefix. |
| public |
startsWith |
Returns true if this string starts with the provided value. |
| public |
startsWith |
Returns true if this string starts with at least one prefix from the provided list. |
| public native |
substring |
Extracts a substring. |
| public |
title |
Capitalizes each word in place. |
| public native |
toCapitalize |
Returns a new string with the first character capitalized. |
| public |
toLower |
Returns the string in lowercase. |
| public native |
toRemoveAccents |
Returns a new string without accents. |
| public override |
toString |
Returns this string (identity conversion). |
| public |
toTitle |
Returns a title-cased copy of this string. |
| public |
toTrim |
Returns the string with leading and trailing whitespace removed. |
| public |
toUpper |
Returns the string in uppercase. |
| public |
trim |
Removes leading and trailing whitespace in place. |
| public |
upper |
Converts the string to uppercase in place. |