Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: what is the best way to seperate the digits and strings from variable ?

by polettix (Vicar)
on May 09, 2005 at 13:04 UTC ( #455164=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $variable = "abc123";
       my ($letters) = $variable =~ /^([a-zA-Z]*)/;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://455164]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2014-09-17 14:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (82 votes), past polls