Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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?
LanX has to go go/
[holli]: baba

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2017-11-20 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (293 votes). Check out past polls.

    Notices?