Link to home
Start Free TrialLog in
Avatar of Dyrewolf
Dyrewolf

asked on

Simple VBScript question

I'm a Perl guy doing some VBScript/ASP work. What is the equivalent of the "\n" carriage return escape character. In other words, I want to replace all newlines with HTML break tags, and using Replace(string, "\n", "<br>") isn't working (that should have been a br tag, not sure what it's going to look like).

Thanks
Adam
ASKER CERTIFIED SOLUTION
Avatar of setiawan
setiawan

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Dyrewolf
Dyrewolf

ASKER

Is it literally "chr(13) & chr(10)" or were you saying one or the other?

Thanks
Adam
Yes, It is literally "chr(13) & chr(10)"

 regards
  danny