wood burning stoves 2.0*
The moose likes Java in General and the fly likes Appending CR & LF to the end of a record Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Appending CR & LF to the end of a record" Watch "Appending CR & LF to the end of a record" New topic

Appending CR & LF to the end of a record

K. Decker

Joined: Aug 21, 2006
Posts: 5
'Lo all,
I need to append to the end of a record a Carriage Return (Hex 0D) for one byte and a Line Feed (Hex 0A) for one byte. It has to be in String type. Any ideas cowboys, cowgirls, and fellow rustlers? Thanks in advance....

"One man gathers what another man spills"
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Hi, this one turns out to be easy if I read you right:

[ January 03, 2007: Message edited by: Stan James ]

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I agree. Here's the link: http://aspose.com/file-tools
subject: Appending CR & LF to the end of a record
Similar Threads
Need to varify my file discriptor...
Database file wrong, what should I do ?
URLyBird 1.3.3 - Last Valid Flag is missing?!
java.util.Scanner class - splitting a large text file
How byte's are terminating the overflow value.