Java Built in Functions
Java Built in Functions
The String class has a set of built-in methods that you can use on strings.
Method Description
codePointBefore() Returns the Unicode of the character before the specified inde
equals() Compares two strings. Returns true if the strings are equal, an
offsetByCodePoints() Returns the index within this String that is offset from the give
codePointOffset code points
replace() Searches a string for a specified value, and returns a new strin
specified values are replaced
replaceAll() Replaces each substring of this string that matches the given
expression with the given replacement