Android examples for java.lang:Character
remove Character from string
public class Main { public static String removeCharacter(String orig, String character) { String res = ""; if (orig.contains(character)) { res = orig.replaceAll(character, ""); } else {/* w ww . ja v a 2 s . c o m*/ res = orig; } return res; } }