aspose file tools*
The moose likes Beginning Java and the fly likes CHR(10) value in text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "CHR(10) value in text file" Watch "CHR(10) value in text file" New topic
Author

CHR(10) value in text file

Brian Agius
Greenhorn

Joined: Oct 30, 2002
Posts: 9
I would ike to read records in a table and write them in a text file. Some records have a CHR(10) in the values. I managed to write to a file using the DataOutputStream, but Iwould like to have my records one under to be able to viw them quickly.
It is important that the CHR(10) is not replaced or removed.
Thanks


Regards<br /> <br />BA
S Rubia
Greenhorn

Joined: Apr 06, 2003
Posts: 23
Well Brian,
I didnt understand it quite that whats ur problem is,if ur problem is only Char 10 which is a Space (i guess) then one simple solution is that u cast the character to int since u r writing the result in a text file so i think that doesnt matter that which type the data is written in file...
i hope this will help u
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CHR(10) value in text file