[thelist] content templates with ASP and SQL - converting hard returns to <p></p>

aardvark roselli at earthlink.net
Mon Jan 21 12:49:07 CST 2002


> From:  "spinhead" <evolt at spinhead.com>
[...]
> Short version:
> How do I capture the hard returns in a textarea form field and convert
> them to HTML tags?
[...]

Replace(strName,vbcrlf,"<br>")

you can also write some functions to detect if it's supposed to be a 
paragraph and wrap the entire thing in a <p></p> pair...





More information about the thelist mailing list