Cariage return

O

Ouabaine

Hello,

I would like to know if there is a way in my Java application to know what
characters are used in the cariage return of text files on the machine the
application works. Is is 13, 10? Is it 10? is it 13? How can I find this?

Thanks for your input.

Francois
 
T

TechBookReport

Ouabaine said:
Hello,

I would like to know if there is a way in my Java application to know what
characters are used in the cariage return of text files on the machine the
application works. Is is 13, 10? Is it 10? is it 13? How can I find this?

Thanks for your input.

Francois
There's a property you can access: System.getProperty("line.separator");

HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top