Well, if you just want to append it to the end of the list then you can do

request.mainNavigationList=request.mainNavigationList & "||";

but as a lot of people have pointed out you probably can't search the list
correctly.

Rob

Scientia Est Potentia

-----Original Message-----
From: Smith, Matthew P -CONT(DYN) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 12:12 PM
To: CF-Talk
Subject: can't listappend w/ double pipe delimiter?


<cfset request.mainNavigationList=listAppend( request.mainNavigationList,
"oneOne|OneTwo" ,  "||"  )>
<cfset request.mainNavigationList=listAppend( request.mainNavigationList,
"twoOne|twoTwo" ,  "||"  )>
<cfdump var="#request.mainNavigationList#"><br><cfabort>

results in:

oneOne|OneTwo|twoOne|twoTwo

(single pipe in middle)

but I want :

oneOne|OneTwo||twoOne|twoTwo

(double pipe in middle)

I could work around by changing up the cfsets, but I would like to know how
to listAppend with a double character delimeter.

Thanks for any help.
Matthew P. Smith
Web Developer, Object Oriented
Naval Education & Training Professional
Development & Technology Center
(NETPDTC)
(850)452-1001 ext. 1245
[EMAIL PROTECTED]



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
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

Reply via email to