Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Removing line from a string

by si_lence (Deacon)
on Jan 09, 2013 at 17:13 UTC ( [id://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);