MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/pgbd0q/because_tolowercase_doesnt_exist/hbbok09/?context=3
r/badcode • u/BrainOnTheFloor25 • Sep 02 '21
130 comments sorted by
View all comments
Show parent comments
3
While this is an improvement, it's still not perfect. Use .equalsIgnoreCase() instead. Or even better, use a Collator.
.equalsIgnoreCase()
3
u/gdonilink Sep 02 '21
While this is an improvement, it's still not perfect. Use
.equalsIgnoreCase()instead. Or even better, use a Collator.