Depending on what you need to replace those chars with, this will simply 
remove them:

<cfset testString = replaceList(subject, 
"#chr(13)##chr(10)#,#chr(9)#,#chr(12)#", ",,") />

(I assumed that 13 & 10 were a single EOL set, but you could add a comma 
in between there and in the replacement set, if needed.)

- Jason


On 8/22/2010 6:49 PM, Matthew Smith wrote:
> I am trying to write a file to be uploaded to google base.  I am having a
> problem with the formatting.  I'm not sure, but I think the item description
> might have some of those characters in them.  What is the easiest way to
> remove the subject line's characters?
>
> I could wrap a replace in a replace etc but that seems sloppy.
>
> Thank you.
>
>    

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:336453
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to