Just because a company tells us that it should work this way, doesn't mean it is the way it should be:-)
Look at all the enhancements, and bug fixes since the days of Allaire. It is upto us, the community to decide whether we belive it is a bug or not. I belive it is, and I would petiton for it to change to a string. What if I wanted to do it on a chr(10) & chr(13) I can't and that is a valid 2 character delimination. We need to adopt, not stay behind. And let me say this, if Adobe / Macromedia / Allaire where ever worried about backward compatabilit.... Then there would be no and I will repeat myself, there would be no obsolete functions or tags.... It is upto you as a developer to voice your opinion, if you accept the dfault behaviour means you are willing to remain in th past. Your choice not mine. On Fri, Jun 6, 2008 at 1:59 AM, Dominic Watson < [EMAIL PROTECTED]> wrote: > Wow. Sure, it could be done differently as in the java/javascript > split() methods but: > > a) it was done this way for a reason, it has its use - it was > *deliberate* (not a bug) > b) changing it could/would have serious backward compatibility implications > c) creating a custom UDF to handle this is extremely simple > d) if adobe should do anything, it might be to supply the above UDF as > a built in function > > My tuppence, > > Dominic > > 2008/6/5 Andrew Scott <[EMAIL PROTECTED]>: > > Yeah I realise that it is or has been that way for a long time. > > > > Just because it has, does it mean it is not a bug? > > > > The thing is that we live in a world of comma deliminated files. The > point > > is who says that this has to be one character? > > > > Allaire/Macromedia/Adobe? > > > > This is the first time I have seen more than one character used, and I > will > > have to say that the ENGINE (that means smith, openBD, railo and Adobe) > > needs to adopt the changing market. > > > > > > > > > > On Fri, Jun 6, 2008 at 1:39 AM, Didgiman <[EMAIL PROTECTED]> 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:306901 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

