public class Utils { public final static String removeChar(String str, char c) { String output = new String(); for (int i = 0; i < str.length(); i++) { if (str.charAt(i) != c) output += str.charAt(i); } return output; } }