Package-level declarations
Functions for working with text and regular expressions.
Types
Represents the Unicode directionality of a character. Character directionality is used to calculate the visual ordering of text.
Represents the results from a single capturing group within a MatchResult of Regex.
Represents a compiled regular expression. Provides functions to match strings in text with a pattern, replace the found occurrences and split text around matches.
Provides enumeration values to use to set regular expression options.
Functions
Appends a line separator to this Appendable.
Appends a line separator to this StringBuilder.
Appends value to the given Appendable and line separator after it.
Appends value to this StringBuilder, followed by a line separator.
Returns a copy of this string having its first letter titlecased using the rules of the default locale, or the original string if it's empty or already starts with a title case letter.
Returns a named charset with the given charsetName name.
Returns the character (Unicode code point) at the specified index.
Returns the character (Unicode code point) before the specified index.
Returns the number of Unicode code points in the specified text range of this String.
Returns true if this string is equal to the contents of the specified StringBuffer, false otherwise.
Returns true if this string is equal to the contents of the specified CharSequence, false otherwise.
Returns a copy of this string having its first letter lowercased using the rules of the default locale, or the original string if it's empty or already starts with a lower case letter.
Uses this string as a format string and returns a string obtained by substituting the specified arguments, using the default locale.
Uses this string as a format string and returns a string obtained by substituting the specified arguments, using the specified locale.
Uses the provided format as a format string and returns a string obtained by substituting the specified arguments, using the default locale.
Uses the provided format as a format string and returns a string obtained by substituting the specified arguments, using the specified locale.
Returns true if this string is empty or consists solely of whitespace characters.
Returns true if this character is a Unicode high-surrogate code unit (also known as leading-surrogate code unit).
Returns true if this character (Unicode code point) should be regarded as an ignorable character in a Java identifier or a Unicode identifier.
Returns true if this character is an ISO control character.
Returns true if this character (Unicode code point) may be part of a Java identifier as other than the first character.
Returns true if this character is permissible as the first character in a Java identifier.
Returns true if this character is a letter or digit.
Returns true if this character is lower case.
Returns true if this character is a Unicode low-surrogate code unit (also known as trailing-surrogate code unit).
Returns true if this character is a title case letter.
Returns true if this character is upper case.
Determines whether a character is whitespace according to the Unicode standard. Returns true if the character is whitespace.
Returns the index within this string that is offset from the given index by codePointOffset code points.
Returns true if the specified range in this char sequence is equal to the specified range in another char sequence.
Returns true if the specified range in this string is equal to the specified range in another string.
Returns true if this string starts with the specified prefix.
Returns true if a substring of this string starting at the specified offset startIndex starts with the specified prefix.
Converts the contents of the specified StringBuffer to a string.
Converts the contents of the specified StringBuilder to a string.
Converts the data from the specified array of bytes to characters using the UTF-8 character set and returns the conversion result as a string.
Converts the characters in the specified array to a string.
Converts the data from the specified array of bytes to characters using the specified character set and returns the conversion result as a string.
Converts the data from a portion of the specified array of bytes to characters using the UTF-8 character set and returns the conversion result as a string.
Converts the characters from a portion of the specified array to a string.
Converts the code points from a portion of the specified Unicode code point array to a string.
Converts the data from a portion of the specified array of bytes to characters using the specified character set and returns the conversion result as a string.
Returns a substring of this string that starts at the specified startIndex and continues to the end of the string.
Returns the substring of this string starting at the startIndex and ending right before the endIndex.
Encodes the contents of this string using the specified character set and returns the resulting byte array.
Returns a CharArray containing characters of this string.
Copies characters from this string into the destination character array and returns that array.
Converts this character to lower case using Unicode mapping rules of the invariant locale.
Returns a copy of this string converted to lower case using the rules of the default locale.
Returns a copy of this string converted to lower case using the rules of the specified locale.
Returns a new SortedSet of all characters.
Converts this character to title case using Unicode mapping rules of the invariant locale.
Converts this character to upper case using Unicode mapping rules of the invariant locale.
Returns a copy of this string converted to upper case using the rules of the default locale.
Returns a copy of this string converted to upper case using the rules of the specified locale.