![]() |
|
Just another Perl shrine | |
PerlMonks |
Last Lettersby ImpalaSS (Monk) |
on Nov 30, 2000 at 00:20 UTC ( #43993=perlquestion: print w/replies, xml ) | Need Help?? |
ImpalaSS has asked for the wisdom of the Perl Monks concerning the following question:
Hey, I am sure this is really simple, but i cant figure out a way to do this fast. What i have are names, such as: Only, i have about 1200 of them, all variable lenghts. I need a way to extract the number within the ()'s from everyone? I tired the substr() method, but that starts from the beginning, or i need to know the lenght of the total string. Any ideas? PS (if there is a way to also get out the 4 digit number (0002 for yeadon) and add it to the adove simply, that would also help THanks a million Dipul
Back to
Seekers of Perl Wisdom
|
|