"Q-Accept, Other Employment"
I need to remove the "," from the above string. The CSV File I have includes
commas inside quotetaion marks, I need to remove the comma and leave the string
intact. Any help with te rereplace format would help
Thanks
Andy
Hal B. Helms - 26 Aug 2006 12:09 GMT
Try this: <cfset string = "Q-Accept, Other Employment" />
<cfset modifiedString = ReReplace(string, '["]', '', 'ALL') />
<newbie /> - 30 Aug 2006 15:59 GMT
I think the previous poster may have a typo in the example code.
Try changing this...
<cfset modifiedString = ReReplace(string, '["]', '', 'ALL') />
to this...
<cfset modifiedString = ReReplace(string, ',', '', 'ALL') />
Good luck!