<cfset lnBrk = "#chr(13)#chr(10)#">
<cfset newStr = Replace(string, lnBrk, "#chr(10)#" , "ALL")>
Might take a look at an ascii chart there all over the net
make sure I got the chr()'s right....
Very simple and done this plenty of times myself...You need quotes around<br>the value if it contains spaces...<br><br><cfoutput query="form"><br><form><input type="text" value="#trim(table1.field1)#"<br>name="field1"></form>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.