[wx-dev] Re: wxArray::Join and wxArray::Split

Armel Asselin asselin.armel at wanadoo.fr
Fri Jan 19 07:55:18 PST 2007


> On Thu, 18 Jan 2007 11:56:36 +0100 Francesco Montorsi 
> <f18m_cpp217828 at yahoo.it> wrote:
>
> FM> >  Sorry, I really don't understand it: it can't be ok because 
> splitting the
> FM> > string back wouldn't give the same result back.
> FM> yes, but I'd still leave this possibility open to the developer: not
> FM> only because splitting without escaping may be desired
>
> I maintain that it may not.
it -is- useful, I need that time to time and would be really happy to have 
this 'non escape' feature.
for example, i needed to concat list of parameters; which can be of the form 
"a" , "b", "c" or "a,b" , "c"
both must give "a,b,c" when Join(",") is called... and yes splitting would 
not give the input and it is -intended-.
[the example above is from ECMAScript 3rd edition]

Armel






More information about the wx-dev mailing list