How can I invert the case of a String in Java?

Apache Commons StringUtils has a swapCase method.

Leave a Comment