How do I make .equals not case-sensitive? – Enpatika
Skip to content
Yeni Enpatika Logo

Enpatika

En Güncel Oyun ve Sistem Gereksinimleri Sitesi

  • Ana Sayfa
  • Gizlilik Politikası
  • Telif Hakları
  • İletişim
  • taraftar tv apk

How do I make .equals not case-sensitive?

How do I make .equals not case-sensitive?

1 April 2022 Enpatika.com Genel

The best way is to use str. equalsIgnoreCase(“foo”) . It’s optimized specifically for this purpose. You can also convert both strings to upper- or lowercase before comparing them with equals .

Read more
WordPress Theme: Gridbox by ThemeZee.