in reply to Re: A question on splitting
in thread A question on splitting
Split on "," if (0 or 1 occurances) (?) and if there is NOT (!) a space after ( ).
So, if I wanted to check for 1 or more spaces, would this be correct ?
split /,(?! +)/, $str
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: A question on splitting
by Abigail-II (Bishop) on Jan 14, 2004 at 21:17 UTC | |
|
Re: Re: Re: A question on splitting
by ysth (Canon) on Jan 14, 2004 at 22:14 UTC |