How do you ignore a case in a String?

equalsIgnoreCase() method compares this String to another String, ignoring case considerations. Two strings are considered equal ignoring case if they are of the same length and corresponding characters in the two strings are equal ignoring case.

Sizin İçin Seçtik  What is the difference between compareTo and compareToIgnoreCase in Java?

Leave a Reply

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