List functions are really slow. I'll bet you could realize a pretty good speed increase using ListToArray() first and parsing the array, since you're iterating over it so many times.
Hth Kam -----Original Message----- From: Robert Everland III [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 5:34 AM To: CF-Talk Subject: Parsing through text file We have a file upload process here where a user needs to upload a file, the file then needs to be parsed through to get data out of it and inserted into a database. The file is 1.4mb long. I'm having issues just reading and looping through the file. Is there a better way to do something like this than to read the file then do listgetat(string, x, delimeter) ? Seems there has to be another way to do this. Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229182 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54