There are no commas at all, only a tabbed list so I'll poke around in that too 
and see what I can figure out with it and hopefully get it to work for me. 

Thanks!

Bob 
-----Original Message-----
From: Paul Kukiel [mailto:[email protected]] 
Sent: Friday, February 13, 2009 4:02 PM
To: cf-newbie
Subject: RE: looping a text file for an insert?


I have used this method many times myself I use | or ¿ and it work's well
but now I have CF8 I simply use listToArray(array,",",true) and loop the
array.

Ben also has this :
http://www.bennadel.com/blog/991-CSVToArray-ColdFusion-UDF-For-Parsing-CSV-D
ata-Files.htm

Which you could modify to use TAB instead of ,

Paul Kukiel


This is for sure a 'hack', and there are probably better ways to handle it,
but it worked for me before, so I thought I'd share.  Of course, you have to
know that there are no other double commas in the input file.....

Dave
 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4368
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to