"text","text","dumb,text" Change "," to "~". Change the independent commas, then change "~" back to ",".
> -----Original Message----- > From: Tracy Bost [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 21, 2002 5:40 PM > To: CF-Talk > Subject: Get everything between " " in a CSV file. > > > Can someone help me out here. I have a cvs file being uploaded > and am having trouble with one of the fields. It a field that > *can* contain > comments and therefore have a comma in it. I'm dumping it into > the database and > everything is hunky dorie until a comma is put in the comment > field. I notice > the csv file puts this field like this "This is a comment, and another > comment,and another"... I would like to find all commas between > the two " " and > temporarily change the commas to something else so it doesn't > think its another > field... ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists