my $value = "001003051"; my $three; my $start = 0; while ($three = substr $value, $start, 3) { ## Do validation check on $three break unless is_good($three); $start += 3; }
In reply to Re: Parsing a string for sorting
by btrott
in thread Parsing a string for sorting
by grasshopper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |