Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How can I extract part of a string after a specific character

by greenFox (Vicar)
on Jul 11, 2002 at 05:28 UTC ( [id://180949]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # split
    my ($key, $string1) = split /=/, $_, 2;
    print "$key, $string1\n";
    
  2. or download this
    #re 1
    /^TITLE=(.*)/;
    ...
    # substr
    my $string4 = substr($_, 6);
    print "$string4\n";
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found