Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bsevening

    How do I replace the /r/n with /n?

    <cfset lnBrk = &quot;#chr(13)#chr(10)#&quot;> <cfset newStr = Replace(string, lnBrk, &quot;#chr(10)#&quot; , &quot;ALL&quot;)> Might take a look at an ascii chart there all over the net make sure I got the chr()'s right....
  2. bsevening

    trim function

    Very simple and done this plenty of times myself...You need quotes around<br>the value if it contains spaces...<br><br>&lt;cfoutput query=&quot;form&quot;&gt;<br>&lt;form&gt;&lt;input type=&quot;text&quot; value=&quot;#trim(table1.field1)#&quot;<br>name=&quot;field1&quot;&gt;&lt;/form&gt;

Part and Inventory Search

Back
Top