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

spinhead evolt at spinhead.com
Mon Jan 21 13:06:27 CST 2002


> strText = Replace(strInput, vbCrLf, "<p></p>")

Works (thanks also to aardvark)

> or//
> strText = Replace(strInput, "\n", "<p></p>")

doesn't work

> 
> Can't remember which one of those will work...one should ;-)
> 

Thanks David.

joel





More information about the thelist mailing list