should also give you an empty first field, right? Maybe that demo helps make this behavior more understandable.perl -MData::Dumper -e ' $str = ",STRING,"; @ar = split(/,/,$str); print Dumper \@ar;'
In reply to Re: Nagging space after splitting
by tphyahoo
in thread Nagging space after splitting
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |