|
Method |
Description |
Return Type |
|
charAt() |
Please rewrite the statement to retrieve the character located at a specific index. |
char |
|
codePointAt() |
Rewords to provide the Unicode value of the character situated at the specified index |
int |
|
codePointBefore() |
Rewords to provide the Unicode value of the character situated at the specified index. |
int |
|
codePointCount() |
Retrieves the Unicode value of the character preceding the specified index. |
int |
|
compareTo() |
Determines the count of Unicode values present within a string. |
int |
|
compareToIgnoreCase() |
Performs a lexicographical comparison between two strings. |
int |
|
concat() |
Conducts a lexicographical comparison between two strings while disregarding differences in case. |
string |
|
contains() |
Adds a string to the conclusion of another string |
boolean |
|
contentEquals() |
Attaches a string to the end of another string. |
boolean |
|
copyValueOf() |
Verifies if a string holds the identical sequence of characters as the specified CharSequence or StringBuffer. |
String |
|
endsWith() |
Provides a String that represents the characters contained within the character array. |
boolean |
|
equals() |
Determines if a string concludes with the specified character(s). |
boolean |
|
equalsIgnoreCase() |
Compares two strings without taking case into account. |
boolean |
|
format() |
Returns a formatted string using the specified locale, format string, and arguments |
String |
|
getBytes() |
Generates a formatted string utilizing the specified locale, format string, and arguments. |
byte[] |
|
getChars() |
Transforms a string into an array of bytes. |
Void |
|
hashCode() |
Duplicates characters from a string into an array of chars. |
Int |
|
indexOf() |
Provides the hash code of a string. |
Int |
|
intern() |
Provides the position of the first occurrence of specified characters within a string. |
string` |
|
isEmpty() |
Provides the canonical representation of the string object. |
boolean |
|
join() |
Determines if a string is empty or not. |
String |
| lastIndexOf() |
Combines one or more strings using a specified separator. |
Int |
|
length() |
Provides the position of the last occurrence of specified characters within a string. |
Int |
|
matches() |
Provides the size of a specified string. |
boolean |
|
offsetByCodePoints() |
Searches a string for a match with a regular expression and returns the matched results. |
Int |
|
regionMatches() |
Provides the index within this String that is shifted from the given index by a specified number of code points. |
boolean |
|
replace() |
Checks if two regions within strings are identical. |
String |
|
replaceAll() |
Searches a string for a particular value and produces a new string where the specified values are substituted. |
String |
|
replaceFirst() |
Substitutes each substring of this string that matches the provided regular expression with the specified replacement. |
String |
|
split() |
Divides a string into an array of substrings. |
strin[] |
|
startsWith() |
Determines if a string begins with specified characters. |
boolean |
|
subSequence() |
Provides a new character sequence that is a portion of this sequence. |
charSequence` |
|
substring() |
Provides a new string that is a substring of a specified string. |
String |
|
toCharArray() |
Converts this string into a new character array. |
char[] |
|
toLowerCase() |
Converts a string to lowercase letters. |
String |
| toString() |
Provides the content of a String object. |
String |
|
toUpperCase() |
Changes a string to uppercase letters. |
String |
|
trim() |
Eliminates whitespace from both ends of a string. |
String |
|
valueOf() |
Provides the string representation of the specified value. |
String |