char [**charAt**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#charAt-int->)(int index)Returns the char value at the specified index.
int [**codePointAt**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#codePointAt-int->)(int index)Returns the character (Unicode code point) at the specified index.
int [**codePointBefore**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#codePointBefore-int->)(int index)Returns the character (Unicode code point) before the specified index.
int [**codePointCount**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#codePointCount-int-int->)(int beginIndex, int endIndex)Returns the number of Unicode code points in the specified text range of this String.
int [**compareTo**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#compareTo-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) anotherString)Compares two strings lexicographically.
int [**compareToIgnoreCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#compareToIgnoreCase-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str)Compares two strings lexicographically, ignoring case differences.
String [**concat**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#concat-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str)Concatenates the specified string to the end of this string.
boolean [**contains**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#contains-java.lang.CharSequence->)([**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) s)Returns true if and only if this string contains the specified sequence of char values.
boolean [**contentEquals**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#contentEquals-java.lang.CharSequence->)([**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) cs)Compares this string to the specified CharSequence.
boolean [**contentEquals**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#contentEquals-java.lang.StringBuffer->)([**StringBuffer**](<https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuffer.html>) sb)Compares this string to the specified StringBuffer.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**copyValueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#copyValueOf-char:A->)(char[] data)Equivalent to valueOf(char[]).
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**copyValueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#copyValueOf-char:A-int-int->)(char[] data, int offset, int count)Equivalent to valueOf(char[], int, int).
boolean [**endsWith**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#endsWith-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) suffix)Tests if this string ends with the specified suffix.
boolean [**equals**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#equals-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) anObject)Compares this string to the specified object.
boolean [**equalsIgnoreCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#equalsIgnoreCase-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) anotherString)Compares this String to another String, ignoring case considerations.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**format**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#format-java.util.Locale-java.lang.String-java.lang.Object>...-)([**Locale**](<https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html>) l, [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) format, [**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>)... args)Returns a formatted string using the specified locale, format string, and arguments.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**format**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#format-java.lang.String-java.lang.Object>...-)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) format, [**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>)... args)Returns a formatted string using the specified format string and arguments.
byte[] [**getBytes**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#getBytes-->)()Encodes this String into a sequence of bytes using the platform's default charset, storing the result into a new byte array.
byte[] [**getBytes**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#getBytes-java.nio.charset.Charset->)([**Charset**](<https://docs.oracle.com/javase/8/docs/api/java/nio/charset/Charset.html>) charset)Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte array.
void [**getBytes**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#getBytes-int-int-byte:A-int->)(int srcBegin, int srcEnd, byte[] dst, int dstBegin)Deprecated. This method does not properly convert characters into bytes. As of JDK 1.1, the preferred way to do this is via the getBytes() method, which uses the platform's default charset.
byte[] [**getBytes**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#getBytes-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) charsetName)Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array.
void [**getChars**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#getChars-int-int-char:A-int->)(int srcBegin, int srcEnd, char[] dst, int dstBegin)Copies characters from this string into the destination character array.
int [**hashCode**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#hashCode-->)()Returns a hash code for this string.
int [**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#indexOf-int->)(int ch)Returns the index within this string of the first occurrence of the specified character.
int [**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#indexOf-int-int->)(int ch, int fromIndex)Returns the index within this string of the first occurrence of the specified character, starting the search at the specified index.
int [**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#indexOf-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str)Returns the index within this string of the first occurrence of the specified substring.
int [**indexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#indexOf-java.lang.String-int->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str, int fromIndex)Returns the index within this string of the first occurrence of the specified substring, starting at the specified index.
String [**intern**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#intern-->)()Returns a canonical representation for the string object.
boolean [**isEmpty**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#isEmpty-->)()Returns true if, and only if, length() is 0.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**join**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#join-java.lang.CharSequence-java.lang.CharSequence>...-)([**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) delimiter, [**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>)... elements)Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**join**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#join-java.lang.CharSequence-java.lang.Iterable->)([**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) delimiter, [**Iterable**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html>)<? extends [**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>)> elements)Returns a new String composed of copies of the CharSequence elements joined together with a copy of the specified delimiter.
int [**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#lastIndexOf-int->)(int ch)Returns the index within this string of the last occurrence of the specified character.
int [**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#lastIndexOf-int-int->)(int ch, int fromIndex)Returns the index within this string of the last occurrence of the specified character, searching backward starting at the specified index.
int [**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#lastIndexOf-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str)Returns the index within this string of the last occurrence of the specified substring.
int [**lastIndexOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#lastIndexOf-java.lang.String-int->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) str, int fromIndex)Returns the index within this string of the last occurrence of the specified substring, searching backward starting at the specified index.
int [**length**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#length-->)()Returns the length of this string.
boolean [**matches**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#matches-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) regex)Tells whether or not this string matches the given regular expression.
int [**offsetByCodePoints**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#offsetByCodePoints-int-int->)(int index, int codePointOffset)Returns the index within this String that is offset from the given index by codePointOffset code points.
boolean [**regionMatches**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#regionMatches-boolean-int-java.lang.String-int-int->)(boolean ignoreCase, int toffset, [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) other, int ooffset, int len)Tests if two string regions are equal.
boolean [**regionMatches**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#regionMatches-int-java.lang.String-int-int->)(int toffset, [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) other, int ooffset, int len)Tests if two string regions are equal.
String [**replace**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#replace-char-char->)(char oldChar, char newChar)Returns a string resulting from replacing all occurrences of oldChar in this string with newChar.
String [**replace**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#replace-java.lang.CharSequence-java.lang.CharSequence->)([**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) target, [**CharSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html>) replacement)Replaces each substring of this string that matches the literal target sequence with the specified literal replacement sequence.
String [**replaceAll**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#replaceAll-java.lang.String-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) regex, [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) replacement)Replaces each substring of this string that matches the given regular expression with the given replacement.
String [**replaceFirst**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#replaceFirst-java.lang.String-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) regex, [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) replacement)Replaces the first substring of this string that matches the given regular expression with the given replacement.
[**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>)[] [**split**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#split-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) regex)Splits this string around matches of the given regular expression.
[**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>)[] [**split**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#split-java.lang.String-int->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) regex, int limit)Splits this string around matches of the given regular expression.
boolean [**startsWith**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#startsWith-java.lang.String->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) prefix)Tests if this string starts with the specified prefix.
boolean [**startsWith**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#startsWith-java.lang.String-int->)([**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) prefix, int toffset)Tests if the substring of this string beginning at the specified index starts with the specified prefix.
CharSequence [**subSequence**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#subSequence-int-int->)(int beginIndex, int endIndex)Returns a character sequence that is a subsequence of this sequence.
String [**substring**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#substring-int->)(int beginIndex)Returns a string that is a substring of this string.
String [**substring**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#substring-int-int->)(int beginIndex, int endIndex)Returns a string that is a substring of this string.
char[] [**toCharArray**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toCharArray-->)()Converts this string to a new character array.
String [**toLowerCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toLowerCase-->)()Converts all of the characters in this String to lower case using the rules of the default locale.
String [**toLowerCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toLowerCase-java.util.Locale->)([**Locale**](<https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html>) locale)Converts all of the characters in this String to lower case using the rules of the given Locale.
String [**toString**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toString-->)()This object (which is already a string!) is itself returned.
String [**toUpperCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toUpperCase-->)()Converts all of the characters in this String to upper case using the rules of the default locale.
String [**toUpperCase**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#toUpperCase-java.util.Locale->)([**Locale**](<https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html>) locale)Converts all of the characters in this String to upper case using the rules of the given Locale.
String [**trim**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#trim-->)()Returns a string whose value is this string, with any leading and trailing whitespace removed.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-boolean->)(boolean b)Returns the string representation of the boolean argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-char->)(char c)Returns the string representation of the char argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-char:A->)(char[] data)Returns the string representation of the char array argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-char:A-int-int->)(char[] data, int offset, int count)Returns the string representation of a specific subarray of the char array argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-double->)(double d)Returns the string representation of the double argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-float->)(float f)Returns the string representation of the float argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-int->)(int i)Returns the string representation of the int argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-long->)(long l)Returns the string representation of the long argument.
static [**String**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>) [**valueOf**](<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html#valueOf-java.lang.Object->)([**Object**](<https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html>) obj)Returns the string representation of the Object argument.