Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by joshua (Pilgrim)
on Jul 11, 2002 at 15:47 UTC ( #181052=note: print w/replies, xml ) Need Help??


in reply to How can I extract part of a string after a specific character

This'll work...
use strict; my $string = "TITLE=SPECIAL CASE 1"; $string = (split('=', $string))[1]; print "$string\n";
Prints SPECIAL CASE 1.

Joshua

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2023-03-24 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (60 votes). Check out past polls.

    Notices?