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.
Read moreWhat 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.
Read moreHow do you write an equalsIgnoreCase?
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. Syntax: str2. 10 Kas 2021
Read moreHow do you write an equalsIgnoreCase?
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. Syntax: str2. 10 Kas 2021
Read more