but you can determine that just as easily using the listLen() function :) altho I do think Ian (and Eric's) suggestion about using listToArray() is the most concise and straightforward.
On 3/8/07, Scott Weikert <[EMAIL PROTECTED]> wrote: > Might be good to use an array to store the vars instead. That way you > can always quickly determine the number of vars present. > > <cfset mylist = "AB_BC_DE" /> > <cfset myArray = ArrayNew(1)> > > <cfloop list="#myList#" delimiters="_" index="idx"> > <cfset ArrayAppend(myArray, idx) /> > </cfloop> > > I have <cfoutput>#ArrayLen(myArray)#</cfoutput> variables. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272055 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

