CharSequence
Functions
Returns whether this string contains char.
Returns whether this character sequence is empty or contains only whitespace.
Returns whether this character sequence contains no characters.
Returns whether this character sequence contains a non-whitespace character.
Returns whether this character sequence contains at least one character.
Visits UTF-16 code units in order. Stored iterators are supported and own their position.
Finds the last matching character.
Finds the last matching substring, starting at the last character.
Searches backwards from startIndex for char.
Searches backwards from startIndex for string, comparing UTF-16 code units.
Splits on CRLF, LF or CR, retaining empty lines including the final line.
Removes suffix when present, otherwise returns this string.
Splits on delimiter, retaining empty parts. Zero limit means no limit; positive limit keeps the remaining suffix.
Splits on delimiter, retaining empty parts. An empty delimiter separates UTF-16 code units, including empty ends.
Materializes the selected UTF-16 range as an immutable String.
Counts and indexes refer to UTF-16 code units, including individual surrogate halves.
Removes leading and trailing whitespace.
Removes trailing whitespace.
Removes leading whitespace.