@Jerry has the right answer...
Assuming your string is in a variable input
, you can do:
String output = input.split('\n') // Split into an array based on newline
.drop(1) // Drop the first element
.join('\n') // Join back into a string separated by newline