I have found this very interesting and informative post for Java developers. Many Java developers may not know that toLowerCase()
and toUpperCase()
methods of java.lang.String class are Locale based. Have a look here at javadocs for these methods.
toLowerCase()
internally calls toLowerCase(Locale locale)
. Same is the case for toUpperCase()
.
Filed under: Java, Java Strings Tagged: upper lower case
This post first appeared on Chirag's Computer Blog | A Dose Of My Technical Knowledge, please read the originial post: here