Android examples for java.lang:Character
remove Enter character by replacing \n
public class Main{ public static String rmvEnter(String input) { return input.replaceAll("\n", ""); }//from ww w . ja v a 2 s .c o m }