Description: This method returns a canonical representation for the string object. It follows that for any two strings s and…
Description: This method has following different variants: public int indexOf(int ch): Returns the index within this string of the first…
Description: This method returns a hash code for this string. The hash code for a String object is computed as:…
Description: This method copies characters from this string into the destination character array. Syntax: Here is the syntax of this…
Description: This method has following two forms: getBytes(String charsetName): Encodes this String into a sequence of bytes using the named…
Description: This method compares this String to another String, ignoring case considerations. Two strings are considered equal ignoring case if…
Description: This method compares this string to the specified object. The result is true if and only if the argument…