Well, your list will always have an even number of items right?

Here's a thought:

Create a new string variable, just an empty one.

Do a cfloop on your list, doing from="1" to="#listlen(yourlist)#", so you 
can check the even/oddness of your index.

Then build up your new string variable, by taking ListGetAt(yourlist, 
index) and adding it onto the end of your new string. If the index is even, 
append one delimiter - if it's odd, append a different one. Naturally make 
sure the loop isn't at the end, so you don't add on a superfluous delimiter 
on the end.

I'd think that would be easier than trying to code replacing every other 
delimiter character, i.e. trying to sniff out when they occur, etc.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137979
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Reply via email to