Looks like consecutive delimiters are ignored...

http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/functb15.htm#wp11
07782

I wish they had the same option as java.util.StringTokenizer which can
choose to ignore or count empty tokens....

-dov

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 14, 2005 2:38 PM
To: CF-Talk
Subject: list question

can anyone tell me why this list:

2,1,250,This transaction has been
declined,,P,0,,,101.00,,auth_capture,,,,,,,,,,,,,,,,,,,,,,,,,,69804B3D45
0BEF23DEFA3646C7BBB430

is seen as a 9-item list in CF?

I'm trying to loop over the list (which is dynamic, this is just one
example), and output the list position and the value of the list item in
that position.  Like this:

Response Position 1: 2
Response Position 2: 1
...
...
...

Ray




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224119
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

Reply via email to