Thank you Dominic for the extra input, very helpful examples. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu
-----Original Message----- From: Dominic Watson [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2008 3:53 PM To: CF-Talk Subject: Re: Checkboxes not passing variables correctly > > Is there a list of all possible delimiters value? A delimeter could be any 'legal' character in a string. The delimeter you use is informed by the string you are given to break up into list items; using different delimiters will break up your 'list' in different ways. Here is some code to demonstrate, just copy and past into a blank template and run it; then look over the output and hopefully things will become clear for you (if they haven't already): <cfset myList = "foo|bar,sticky toffee pudding|init"> <cfoutput> <h1>Delimiter demo</h1> <p> The list: #myList#</p> <h2>Using default delimiter (comma)</h2> <ul> <cfloop list="#myList#" index="listItem"> <li>#listItem#</li> </cfloop> </ul> <h2>Using '|'</h2> <ul> <cfloop list="#myList#" index="listItem" delimiters="|"> <li>#listItem#</li> </cfloop> </ul> <h2>Using '|' or ','</h2> <ul> <cfloop list="#myList#" index="listItem" delimiters="|,"> <li>#listItem#</li> </cfloop> </ul> <h2>Using any vowel</h2> <ul> <cfloop list="#myList#" index="listItem" delimiters="aeiou"> <li>#listItem#</li> </cfloop> </ul> <h2>Using a character that isn't in the string (@)</h2> <ul> <cfloop list="#myList#" index="listItem" delimiters="@"> <li>#listItem#</li> </cfloop> </ul> </cfoutput> Also, if you want a delimiter of CR LF (used quite regularly to delimit whole lines of a csv that have a line break to indicate a new row) you can use the Chr function: delimiters="#Chr(13)##Chr(10)#" HTH Dominic -- Blog it up: http://fusion.dominicwatson.co.uk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:302038 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4