You got to this before me. I think by simple definition, a list is a single character delimited string. If something delimited by "_split_" is more complex and a simple replace as suggested would be in order. Or you could write a nifty UDF using other String functions such as Find and REFind.
-- Jake Churchill Team Leader CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com 402-408-3733 x103 Didgiman wrote: > It's always been like this. Since CF 4.5 or earlier afaik. > What makes you think it's a bug? > > On Thu, Jun 5, 2008 at 5:35 PM, Andrew Scott <[EMAIL PROTECTED]> > wrote: > > >> no need for the scope variables if not in a function. >> >> Point taken, but it is a bug as far as I am concerned. >> >> >> On Fri, Jun 6, 2008 at 1:33 AM, morgan l <[EMAIL PROTECTED]> wrote: >> >> >>> The "delimiter' parameter is not used as a literal string, but as a group >>> of >>> individual delimiters. Run this sample code, and you'll clearly see that >>> >> is >> >>> does not do what you might expext of it. >>> >>> >>> <cfset variables.TestList = "qu_45_tb_45_split_0_split_q_67"> >>> >>> <cfset variables.SplitTest = ListToArray(variables.TestList,"_split_")> >>> >>> <cfdump var="#variables.SplitTest#"> >>> >>> >>> On Thu, Jun 5, 2008 at 10:15 AM, Andrew Scott < >>> >> [EMAIL PROTECTED]> >> >>> wrote: >>> >>> >>>> So let me get this right. >>>> >>>> You looked at the manuals / cfdocs, and you couldn't work out this: >>>> >>>> <cfset myArray = listToArray(myList, '_split_') /> >>>> >>>> Seems to me that what you have described, is the way to go... Is it >>>> >> not? >> >>> >>> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306892 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

