$h{$1} = substr $str, 0, $2, '' while $str =~ s/^&?([^\[]+)\[(\d+)\]=/ +/;
cheers
tachyon
In reply to Re^3: splitting string based on length index
by tachyon
in thread splitting string based on length index
by phi95aly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |