note, that you have an empty string at the beginnig of the array, since your string starts with a digit.my $str = "4sheet1rev11"; my @arr = split(/(\d+)/, $str);
In reply to Re: split question
by snowcrash
in thread split question
by jrsmith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |