If you are worried about non-numbers creeping into your string, you would have to add a 'tr'. --ericmy $string="001003051"; &verify($_) for(split /(\d{3})/, $string);
In reply to Re: Parsing a string for sorting
by eak
in thread Parsing a string for sorting
by grasshopper
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |