I've attached what I use to parse my CSV's into an array, which I can then count. I've also attached my test script so that you can see what I can handle.
To deal with that specific problem, I append a comma and space to every list. I also add a space after each comma to deal with blank entries like ,,,. Andy -----Original Message----- From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 30, 2003 8:08 AM To: CF-Talk Subject: RE: New problem with csv... argghhh Andy, Because I'm already into this with hours of code, and need at least a temporary solution, and as I'm so close with this one, what kind of code do I need to include in my loop to deal with this specific scenario? > when it is a,b,c,d it works but when it's a,b,c, it errors out ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

