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

  • Thread starter Anthony Papillion
  • Start date
A

Anthony Papillion

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top