Kludgey in the extreme, but this works...
$_ = 'this,is\,a,string'; s/\\,/\x0/g; foreach (split /,/) { s/\x0/\\,/; print "$_\n"; }
Cē
In reply to Re: RE Dropping last Character
by cciulla
in thread RE Dropping last Character
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |