Monday, 25 April 2016

How to sort list of strings - case insensitive ?


To sort list of strings ignoring the case , Use :

Collections.sort(list, String.CASE_INSENSITIVE_ORDER);

No comments:

Post a Comment

Note: only a member of this blog may post a comment.