• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CHR(10) value in text file

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic