Since you are already Trim()ming all the values, you could do something like
this:
<cfset AuthList = " " & replace(AuthList,"||","| |","all") & " ">

All of your existing code after that should work.

On Jan 9, 2008 5:24 PM, Charlie Griefer <[EMAIL PROTECTED]> wrote:

> On Jan 9, 2008 2:17 PM, Bryan Stevenson <[EMAIL PROTECTED]>
> wrote:
> > and in case you want to know why and just not a fix ;-)
> >
> > the problem is CF doesn't recognize empty list elements...so you can
> replace all instances of  || with | | in the list and then parse things out
>
> that won't resolve two concurrent empty list elements (|||) tho :)
>
> like todd said, if you're on CF8, you have a built in solution.
>
> otherwise, check www.cflib.org for a UDF to handle empty list
> elements.  I think there are a few there.
>
> --
> "Scientists tell us that the fastest animal on earth, with a top speed
> of 120 feet per second, is a cow that has been dropped out of a
> helicopter." - Dave Barry
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:296310
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to