I am actually trying to use a string as a delimiter like #ListAppend(MyList, MyValue, "mystring")# .
If I do this: <cfscript> MyList=""; MyList=ListAppend(MyList, "Hello There", "mystring"); MyList=ListAppend(MyList, "Good Afternoon", "mystring"); </cfscript> MyList is equal to: Hello TheremGood Afternoon But if I do this: <cfscript> MyList=ValueList(queryName.ColumnName, "mystring"); </cfscript> then MyList is then equal to: Hello TheremystringGood Afternoon Why do the List functions behave differently? Is there any rules or such to go by when using delimiters? Tyler Silcox email | [EMAIL PROTECTED] BTW: I'm not trying to use "mystring" as a delimiter, I just want to use ", " (comma space) as a delimiter to output the list to the browser. ----- Original Message ----- From: "Ryan Kime" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, May 30, 2002 3:21 PM Subject: RE: list delimiters>>> Is this what you are looking for? If you already have a list, you can change the delimiter like so.... ListChangeDelims(#yourList#, "+") -----Original Message----- From: Tyler Silcox [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 2:20 PM To: CF-Talk Subject: list delimiters>>> Is there any known tricks to providing list delimiters to the List functions? Sometimes you can use a string as a delimiter, #ValueList()#, and other times it will only allow you to use/accept the first character, such as #ListAppend()#. Any idears? Tyler Silcox email | [EMAIL PROTECTED] ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

