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:306885
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to