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);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012530]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (12)
As of 2017-03-27 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (320 votes). Check out past polls.