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.

Read more