list.split(",") << am I missing something, where did this come from?

-----Original Message-----
From: Tim Blair [mailto:[EMAIL PROTECTED]
Sent: 23 September 2004 13:33
To: [EMAIL PROTECTED]
Subject: RE: [ cf-dev ] number of items in a list



> Either that, or loop over the string and create a real array 

Or be more convuluted:

<cfset list="a,b,c,,,,,i">
<cfset itemCount = arraylen(list.split(","))>
<cfoutput>#itemCount#</cfoutput>


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to