How do you ignore case in Java?

use toUpperCase() or toLowerCase() method of String class . Show activity on this post. 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.

Sizin İçin Seçtik  MetaMask bilgisayarda nasıl kullanılır?

Leave a Reply

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