Forum Moderators: open

Message Too Old, No Replies

Vbcrlf alternative?

         

kevinj

1:45 am on Jan 16, 2003 (gmt 0)

10+ Year Member



For some reason vbcrlf is not working all the time in an email I'm having sent from my site using CDonts. Is there an alternative to vbcrlf that I could use on my ASP page to give me carriage returns?

Thanks.

Woz

1:55 am on Jan 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you are using HTML email, then you need to replace Vbcrlf with <br>

If not, try inserting Chr(10) instead of Vbcrlf.

Onya
Woz

kevinj

3:03 am on Jan 16, 2003 (gmt 0)

10+ Year Member



Thanks Woz. I'll give Chr(10) a try.

Kevin

TheDave

3:50 am on Jan 16, 2003 (gmt 0)

10+ Year Member



I'd use chr(10) + chr(13) combo - one's a linefeed, one's a carriage return. Some programs, notepad springs to mind, won't begin a new line unless there is a carriage return and linefeed. If there is only one or the other it displays the character missing box as a character. I certainly don't believe it is going to hurt to have the chr(13) = carriage return

Xoc

6:25 pm on Jan 19, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Generally you use it the other way around: chr(13) & chr(10)

13 is carriage return
10 is linefeed