I was thinking the same thing.  The use of urlDecode() is clever and
does exactly what is required, but I think replace() would make the code
a bit easier to follow at first glance.

I just wonder if urlDecode() does a bunch of other processing that
wouldn't happen with the replace() function?

M!ke 

-----Original Message-----
From: Ryan Guill [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 16, 2005 12:21 PM
To: CF-Talk
Subject: Re: listgetat problems....

Why not just replace your multi-char delimiter with a single char
delimiter, like a pipe | and then use your listgetat() with that list?

On 11/16/05, Qasim Rasheed <[EMAIL PROTECTED]> wrote:
> You can do something like this
>
> keyword 1 : #listgetat( urldecode(session.search_keywords), 1, " ")#
>
> HTH
>
> Qasim
>
> On 11/16/05, Protoculture <[EMAIL PROTECTED]> wrote:
> > session.keyword: #session.search_keywords# <p> keyword 1 : 
> > #listgetat(session.search_keywords, 1, "%20")# <br> keyword 2 : 
> > #listgetat(session.search_keywords, 2, "%20")#
> >
> >
> > Any idea why the above code would output the following? Why isn't it
breaking the list at the '%20' isn't that the way it's supposed to work?
> >
> > c%2B%2B%20developer ( which is url encoded 'c++ developer' )
> >
> > session.keyword: c%2B%2B%20developer
> >
> > keyword 1 : c
> > keyword 2 : B
> >
> >
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:224366
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to