Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CHR(10) value in text file

 
Brian Agius
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
S Rubia
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic