in reply to Re: what is the best way to seperate the digits and strings from variable ?
in thread what is the best way to seperate the digits and strings from variable ?
($variable = '12345(checkthis)') =~ tr/0-9//dc;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: what is the best way to seperate the digits and strings from variable ?
by cog (Parson) on May 09, 2005 at 16:04 UTC |