A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Programmer Certification (SCJP/OCPJP)
remove line feed and carriage return from a string
Joined: Aug 27, 2003
Dec 16, 2004 16:05:00
How can we remove the line feed and carriage return from a
String str = "\r\n";
Joined: Mar 13, 2004
Dec 16, 2004 16:49:00
I would use the replaceAll() method of String.
SCJP 1.4, SCWCD in process
I agree. Here's the link:
subject: remove line feed and carriage return from a string
how to clear/reset buffer when I use BufferedReader?
Stripping Carriage Returns
Please HELP Socket Amateur!
Newline Vs Carriage return
String assignment confusion
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015