For this simple case,
will do the job, but things rarely stay this simple :-).$digits = $1 if $variable =~ /(\d+)/;
the lowliest monk
In reply to Re: what is the best way to seperate the digits and strings from variable ?
by tlm
in thread what is the best way to seperate the digits and strings from variable ?
by swaroop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |