String
          23 JuneJava String contains Ignore Case
We often have to check if a string contains a substring or not in a case-insensitive manner. There are multiple ways to do so. In this article, we will take a look at these methods for java String contains Ignore Case checks. Next, we will look at each method in detail. Using String.toLowerCase() One of […]
          02 JuneFind and count occurrences of substring in string in java
In this post, we will see how to find and count occurrences of substring in string in java. Using the indexOf() method The indexOf() method in java is a specialized function to find the index of the first occurrence of a substring in a string. This method has 4 overloads. [crayon-6909da1be196b727767423/] We will use the […]
          23 MayPrint double quotes in java
💡 Outline You can print double quotes in java by escape double quotes using backslash character(\). [crayon-6909da1be1b10294846976/] When you print on console using System.out.println, you use double quotes and whatever value inside double quotes is printed. But what if you want to actually print double quotes on console. In this tutorial, we will see different […]
          
          
          04 MayConvert Character to ASCII Numeric Value in Java
Learn about how to convert Character to ASCII Numeric Value in Java.
          
          19 JanuaryHow to escape double quotes in String in java
In this post, we will see how to escape double quotes in String in java. There are scenarios where you need to escape double quotes already present in the String. This generally happens while dealing with JSON file format or reading file data. Escape double quotes in java Double quotes characters can be escaped with […]
          24 DecemberHow to capitalize first letter in java
Learn about how to capitalize first letter in java.