Java – String toLowerCase() Method

Description: This method has two variants. First variant converts all of the characters in this String to lower case using…

12 years ago

Java – String toCharArray() Method

Description: This method converts this string to a new character array. Syntax: Here is the syntax of this method: public…

12 years ago

Java – String substring() Method

Description: This method has two variants and returns a new string that is a substring of this string. The substring…

12 years ago

Java – String subSequence() Method

Description: This method returns a new character sequence that is a subsequence of this sequence. Syntax: Here is the syntax…

12 years ago

Java – String startsWith() Method

Description: This method has two variants and tests if a string starts with the specified prefix beginning a specified index…

12 years ago

Java – String split() Method

Description: This method has two variants and splits this string around matches of the given regular expression. Syntax: Here is…

12 years ago

Java – String replaceFirst() Method

Description: This method replaces the first substring of this string that matches the given regular expression with the given replacement.…

12 years ago