How do I use ignore 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  How is salary calculated for employees in Java?

Leave a Reply

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