Removing Line Feeds in Java
Posted by Roger Keays, 22 January 2009, 10:18 PM
This should be a fairly cross-platform way to remove line feeds from a string using Java:
string.replaceAll("[\r\n]", "")
Why do the smallest issues always take the longest to resolve?
Add a comment
Please visit http://www.ilikespam.com/blog/removing-line-feeds-in-java to add your comments.