How do you make a string ignore case?

Java String equalsIgnoreCase() Method with Examples. The equalsIgnoreCase() method of the String class compares two strings irrespective of the case (lower or upper) of the string . This method returns a boolean value, true if the argument is not null and represents an equivalent String ignoring case, else false.

Sizin İçin Seçtik  What is the best way to compare strings in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *