How to ignore case when searching ArrayList in Java?

前端 未结 0 1890
予麋鹿
予麋鹿 2020-12-15 03:41

I\'m having trouble making the search in my ArrayList non-case sensitive. I have tried using toLowerCase() but I need the names to maintain their current format

相关标签:
回答
  • 消灭零回复
提交回复
热议问题