Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I do a case-insensitive string sort in a language-insensitive manner?

0
Posted

How do I do a case-insensitive string sort in a language-insensitive manner?

0

Location: http://www.jguru.com/faq/view.jsp?EID=976 Created: Nov 14, 1999 Modified: 2001-07-24 08:17:45.982 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) You need to use a new Comparator, not the default Comparable. The String class comes with a special Comparator you can use: String.CASE_INSENSITIVE_ORDER.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123