/*****************************************************************/ /* Copyright 2013 Code Strategies */ /* This code may be freely used and distributed in any project. */ /* However, please do not remove this credit if you publish this */ /* code in paper or electronic form, such as on a web site. */ /*****************************************************************/ import org.apache.commons.lang.StringUtils; class Howdy { public static void main(String [] args) { System.out.println("Hello there"); String x = "kat"; String y = StringUtils.replace(x, "k", "c"); System.out.println(y); } }