myString.trim() .replace("\n", "") .replace("\r", "") .replace(System.getProperty("line.separator"), "");
Posts mit dem Label manipulation werden angezeigt. Alle Posts anzeigen
Posts mit dem Label manipulation werden angezeigt. Alle Posts anzeigen
Mittwoch, 15. Mai 2019
How to remove line breaks etc. in Java String
Abonnieren
Posts (Atom)
NEW BLOG! http://cleancode.consulting/
Dear Reader, This Blog is closed and remains as an archive. Please find our new Blog at http://cleancode.consulting/
-
This is a fine one: if you only do have XML and nothing else, you can generate an XSD from the XML ( here ) and use the XSD to generate your...
-
Dear Reader, This Blog is closed and remains as an archive. Please find our new Blog at http://cleancode.consulting/