Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-24 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found