StringUtils class in Java

Goodies like explode, leftback, rightback, switchcase, implode, middle, trim, unique etc. can be found in this utility class.

The Commons Lang project at Apache Jakarta also has some really great stuff.

Chad Schelfhout gave me a correction for the implode(Object[], String):String method and the new method word(String, String, int):String.