What is equalsIgnoreCase?

Definition and Usage The equalsIgnoreCase() method compares two strings, ignoring lower case and upper case differences . This method returns true if the strings are equal, and false if not. Tip: Use the compareToIgnoreCase() method to compare two strings lexicographically, ignoring case differences.

Sizin İçin Seçtik  Paribu acik emirlerim ne demek?

Leave a Reply

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

What is equalsIgnoreCase?

Definition and Usage The equalsIgnoreCase() method compares two strings, ignoring lower case and upper case differences . This method returns true if the strings are equal, and false if not. Tip: Use the compareToIgnoreCase() method to compare two strings lexicographically, ignoring case differences.

Sizin İçin Seçtik  What is the difference between equals () and equalsIgnoreCase () methods in Java?

Leave a Reply

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