dinesh Archive
Description: This method has following two forms: getBytes(String charsetName): Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array. getBytes(): Encodes this String into a …
Description: This method compares this String to another String, ignoring case considerations. Two strings are considered equal ignoring case if they are of the same length, and corresponding characters in the two strings are equal …
Description: This method compares this string to the specified object. The result is true if and only if the argument is not null and is a String object that represents the same sequence of characters …
Description: This method tests if this string ends with the specified suffix. Syntax: Here is the syntax of this method: public boolean endsWith(String suffix) Parameters: Here is the detail of parameters: suffix — the suffix. …
Description: This method has two different forms: public static String copyValueOf(char data): Returns a String that represents the character sequence in the array specified. public static String copyValueOf(char data, int offset, int count): Returns a …
Description: This method returns true if and only if this String represents the same sequence of characters as the specified StringBuffer. Syntax: Here is the syntax of this method: public boolean contentEquals(StringBuffer sb) Parameters: Here …
Description: This method appends one String to the end of another. The method returns a String with the value of the String passed in to the method appended to the end of the String used …