Java2Blog
  • Home
  • Core Java
  • Tutorials
    • Spring
    • Spring Boot
    • Spring MVC
    • Java 8
    • Hibernate
  • Categories
    • Interview Questions
    • Spring Frameworks
    • Core java
    • Python
    • C++
  • NM
close
import_contacts

Java Tutorials

  • Core Java
  • Java Interview questions
  • Java 8 Stream
  • Java interview programs
import_contacts

Data structure and algorithm

  • Data structure in java
  • Data structure interview questions
import_contacts

Spring tutorials

  • Spring tutorial
  • Spring boot tutorial
  • Spring MVC tutorial
  • Spring interview questions

String

  • Java String contains IgnoreCase
    String
    23 June

    Java 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 […]

    Read More
  • Find and count occurences of substring in String in Java
    String
    02 June

    Find 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-683912b56ca1c169691978/] We will use the […]

    Read More
  • Print double quotes in java
    String
    23 May

    Print double quotes in java

    💡 Outline You can print double quotes in java by escape double quotes using backslash character(\). [crayon-683912b56cb9d722086609/] 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 […]

    Read More
  • Java Split String by Space
    String
    13 May

    Java split string by space

    Learn about how to split String in java in different ways.

    Read More
  • Split String by new line in java
    String
    09 May

    How to split String by newline in java

    Learn about how to split String by newline in java

    Read More
  • Convert chartacter to ascii in java
    Character
    04 May

    Convert Character to ASCII Numeric Value in Java

    Learn about how to convert Character to ASCII Numeric Value in Java.

    Read More
  • String
    15 April

    How to declare a String array in java

    Learn about how to declare String array in java.

    Read More
  • Escape double quotes in String in Java
    String
    19 January

    How 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 […]

    Read More
  • Basic java programs String
    24 December

    How to capitalize first letter in java

    Learn about how to capitalize first letter in java.

    Read More
  • keyboard_arrow_left Previous
  • 1
  • 2
  • 3
  • 4
  • …
  • 10
  • Nextkeyboard_arrow_right

Newsletter


Let’s be Friends

  • Facebook
  • Twitter
  • LinkedIn

© 2020-22 Java2Blog Privacy Policy