How do you ignore a case?

You ignore case when you treat the data , not when you retrieve/store it. If you want to store everything in lowercase use String#toLowerCase, in uppercase use String#toUpperCase. Then when you have to actually treat it, you may use out of the bow methods, like String#equalsIgnoreCase(java.

Sizin İçin Seçtik  What is replace () in JavaScript?

Leave a Reply

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