How can I remove the first line of a multi-line string?

Anthony Papillion papillion at gmail.com
Mon Sep 2 12:06:30 EDT 2013


Hello Everyone,

I have a multi-line string and I need to remove the very first line from
it. How can I do that? I looked at StringIO but I can't seem to figure
out how to properly use it to remove the first line. Basically, I want
to toss the first line but keep everything else.  Can anyone put me on
the right path? I know it is probably easy but I'm still learning Python
and don't have all the string functions down yet.

Thanks,
Anthony



More information about the Python-list mailing list