Extracting the first line from a variable with lots of text lines is easy:
set theFirst to (first paragraph of theText) as string
but how do I get the rest unaltered? I tried
set theBody to (paragraphs 2 thru -1 of theText) as string
but this does not preserve line breaks and empty lines as they were before.
So instead of parsing the text in paragraphs which deletes the line feeds, is there a way to just “cut” the first line off keep the rest intact? Or if parsing in paragrphs is required how do I preserve line feeds and empty lines?