i found this solution on the web 

<cfset list = "1,2,3,,5,,,,9,10">
<cfset counter = 0>

<cfoutput>
<cfloop index="thisElement" list="#replace( list, ',', ', ', 'All' )#" 
delimiters=",">
<cfset counter = counter + 1>
Element #counter#: #trim( thisElement )#<br>
</cfloop>
<br><br>
#counter#
</cfoutput> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293774
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to