Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: split question (boo)

by boo_radley (Parson)
on Sep 08, 2001 at 03:04 UTC ( [id://111070]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $inLine= "RPC, rpc #001b, (1987)";
    $inLine=~/\((\d+)\)/;
    print $1
    
  2. or download this
    my $inLine= "RPC, rpc #001b, (1987)";
    ($itm, $date)= split /[()]/, $inLine;
    print $date;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-04-20 02:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found