str.replaceAll("[\n\r]","")
Also out.println("str.replaceAll("[\n\r]","")"); wird nicht funktionieren.
out.println("str.replaceAll('[\n\r]','')");
hab ich auch schon probiert.
str.replaceAll("[\n\r]","")
Also out.println("str.replaceAll("[\n\r]","")"); wird nicht funktionieren.
out.println("str.replaceAll('[\n\r]','')");
hab ich auch schon probiert.