This is what I use to remove all control characters from a string. Which includes linefeed chr(10) and carriage return chr(13).
REReplaceNoCase(string,'([[:cntrl:]])','','All') Wil Genovese Sr. Web Application Developer/ Systems Administrator Wil Genovese Consulting [email protected] www.trunkful.com On Aug 22, 2010, at 8:58 PM, Justin Scott wrote: > >> Thank you for the help. It seems I am still >> missing the line feed somehow. > > In the replaceList() put a comma between char 13 and 10 so it will catch > them individually instead of only when they're together (and add another > comma to the second attribute as well). Sometimes text will only have a > line break (10) without the carriage return (13). > > > -Justin > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336456 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

