in reply to Parsing a string for sorting
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);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Parsing a string for sorting
by merlyn (Sage) on Aug 08, 2000 at 04:19 UTC |