Is there a way to compare two strings that ignores case?

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  Does string contain case sensitive?

Leave a Reply

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

Is there a way to compare two strings that ignores case?

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  Which is Better Tens or IFT?

Leave a Reply

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