Using another library:
http://commons.apache.org/proper/commons-lang/download_lang.cgi

for string manipulation. Added it to the classpath