I was refactoring some of my old code and then I found out that I\'d used Character.toTitleCase() method at some point and couldn\'t help myself wondering if
Character.toTitleCase()
Standard ASCII characters are so boring! Here's something more exciting:
System.out.println(Character.toTitleCase('dz')); // Dz System.out.println(Character.toUpperCase('dz')); // DZ
Live demo.