> Yes, I started trying this after I posted my message, and I'm
> pleasantly surprised to see that you *can* use two characters 
> as list delimiters.

I'm not sure exactly what you mean by this, but while you can specify more
than one character within the DELIMITERS attribute value, CF won't treat the
string as a single delimiter. Instead, CF will treat any character within
the string as a delimiter. So, if you have something like this:

<cfset mylist = "foo:bar-baz|bat:|foo">

and then loop over it like this:

<cfloop index="i" list="#mylist#" delimiters=":-|">
        <cfoutput>#i#</cfoutput><br>
</cfloop>

you'll get this:

foo
bar
baz
bat
foo

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to