Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Removing line from a string

by si_lence (Deacon)
on Jan 09, 2013 at 17:13 UTC ( #1012530=note: print w/ replies, xml ) Need Help??


in reply to Removing line from a string

If it's always "Key" on the first line

 $records = substr($records, 4);

Or up to the first newline

 $records = substr($records, index($records, "\n")+1);


Comment on Re: Removing line from a string
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-07-29 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls