This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Have you checked out Aspose?
subject: Appending CR & LF to the end of a record
It's not a secret anymore!