<cfset myList = "test1 test2 test3"> <cfset myNewList=ListChangeDelims(myList, "-", " ")> <cfoutput>#myNewlist#</cfoutput>
You had it backwards. It is new delimeter then old delimeter. Teddy On 8/31/06, Doug Brown <[EMAIL PROTECTED]> wrote: > > <cfset myList = "test1 test2 test3"> > > <cfset myNewList=ListChangeDelims(myList, " ", "-")> > <cfoutput>#myNewlist#</cfoutput> > > > Why is it not working? > > > ----- Original Message ----- > From: "Ben Forta" <[EMAIL PROTECTED]> > To: "CF-Talk" <cf-talk@houseoffusion.com> > Sent: Thursday, August 31, 2006 6:50 AM > Subject: RE: Quick Question > > > > ListChangeDelims() > > > > In your example: > > > > <cfset myList=ListChangeDelims(myList, " ", "-")> > > > > --- Ben > > > > > > -----Original Message----- > > From: Doug Brown [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 31, 2006 8:43 AM > > To: CF-Talk > > Subject: Quick Question > > > > Say I have a list > > > > <cfset myList = "test1 test2 test3"> > > > > What list function would I use to make it > > > > test1-test2-test3 > > > > > > Sorry for the newb question!! > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251610 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4