Re: pushing a string into a array

2011-05-14 Thread Rob Dixon
On 14/05/2011 08:57, Agnello George wrote: I got a string like this $string = ' [a b c d]' i need to get a b c d in to a array called @all. i was was trying to so a split with delimiter '\s+' but still i get [a b c d] but i want a b c d any idea how to get this done , thanks By the

Re: pushing a string into a array

2011-05-14 Thread Agnello George
On Sat, May 14, 2011 at 1:37 PM, Brandon McCaig wrote: > On Sat, May 14, 2011 at 3:57 AM, Agnello George > wrote: >> I got a string like this >> >> $string  = ' [a b  c  d]' >> >> i need to get a b c d in to a array called @all. >> >> i was was trying to so a split with delimiter '\s+' but still

Re: pushing a string into a array

2011-05-14 Thread Brandon McCaig
On Sat, May 14, 2011 at 3:57 AM, Agnello George wrote: > I got a string like this > > $string  = ' [a b  c  d]' > > i need to get a b c d in to a array called @all. > > i was was trying to so a split with delimiter '\s+' but still  i get > > [a > b > c > d] > > but i want > > a > b > c > d > > > a

pushing a string into a array

2011-05-14 Thread Agnello George
hi I got a string like this $string = ' [a b c d]' i need to get a b c d in to a array called @all. i was was trying to so a split with delimiter '\s+' but still i get [a b c d] but i want a b c d any idea how to get this done , thanks -- Regards Agnello D'souza -- To unsubscribe, e