in reply to Strip non-numeric
Try this $var =~ s/\D//g; This (untested) code will remove all non-numeric characters from the string.
Josh
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Strip non-numeric
by tall_man (Parson) on Jan 13, 2003 at 22:54 UTC |