<cfset newvar = Trim(Replace(form.variablename, chr(35), "", ALL))>
-----Original Message-----
From: Marc Garrett [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 11:55 AM
To: CF-Talk
Subject: Stripping wrapper quotes from all fields
I have a database in which all fields are wrapped by double quotes. I'd like
to write a CF template that will strip all leading and ending quotes from
all fields in the table; i.e.,
"Hardwood Tile" should become Hardwood Tile
Any guidance?
Thanks,
Marc Garrett
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists