Wendie
Wendie

Reputation: 84

New line not showing in text file created by ColdFusion

I added a new line to a text file I generated using chr(10)&chr(13). I sent a copy of the text file to my email and dropped a copy in a folder. The one I receive in my email is well-formatted while the one in the folder doesn't have the new line inserted so it's all muddled up. What am I doing wrong please?

Upvotes: 0

Views: 99

Answers (1)

Wendie
Wendie

Reputation: 84

Figured it out.

Used char(13)&char(10) (carriage return, line feed) as opposed to char(10)&char(13) (line feed, carriage return).

Upvotes: 1

Related Questions