In Java, to remove all special character form a given string, we can use the replaceAll(String regex, String replacement) method […] Continue reading »
In Java, we can use the overloaded method indexOf(String str, int fromIndex) of the String class to get the second […] Continue reading »
In this article, you will learn the difference between trim() and strip() methods of the String class in Java. trim() […] Continue reading »
In this short article, you will get to know about the difference between the isBlank() and isEmpty() methods of the […] Continue reading »
Java 11 (JDK 11) added a few new utility methods in the String class. These utility methods will reduce the […] Continue reading »
On this page, we will learn how to capitalize the first letter of each word in a String using Java. […] Continue reading »
In this short tutorial, you will get an idea of how to capitalize the first letter of a string. In […] Continue reading »
In this short tutorial, we’ll find all the capital letters in the given String using Java. Character.isUpperCase(char ch) returns true […] Continue reading »
This tutorial will help you to find the first recurring or repeated character in a given string. By asking these […] Continue reading »
If you want to be a Java Developer and preparing for the interviews then this question is for you. Most […] Continue reading »