How do you check carriage returns in a text file?

Nguyễn Trà

New member
How do you check carriage returns in a text file?
Answer
To check manually, you could highlight and copy a portion of the text that includes a line ending, and then
look at the result of hexstr (clipboard()) . A linefeed will be 0A and a carriage return will be 0D. If you need to find out on the fly, you could use arraysize( with each character as the separator.
 

Tìm kiếm

Back
Top