Thanks for the extra info, Charlie! While learning typing a loooong time ago, I, like everyone else, was taught to put a space after every comma. So, instinct tells me to put a space after every comma. Oh the aggravation following the rules can cause!
> -----Original Message----- > From: Charlie Griefer [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 05, 2008 10:07 PM > To: CF-Talk > Subject: Re: Just a little cfcase tip... > > On Sat, Jul 5, 2008 at 7:02 PM, Rick Faircloth <[EMAIL PROTECTED]> wrote: > > Tip of the Day... > > > > When using multiple values with CFCASE, e.g., > > > > <cfcase value = "1,2,3"> > > > > don't put a space after the comma in the value list. > > > > This works: <cfcase value = "red,blue,green"> > > > > This doesn't: <cfcase value = "red, blue, green"> > > > > This drove me crazy all day! > > > > Maybe this will save someone's sanity... (too late for you, Will :oP ) > > that'd be the case with all list functions in CF. anything between > the delimiter (including leading/trailing spaces) is going to be part > of the list element. and yes, it's bitten me square in the ass before > :) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308631 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

