take the last n lines of a string c#

Viewed 8912

I have a string of unknown length

it is in the format

\nline
\nline
\nline

with out know how long it is how can i just take the last 10 lines of the string a line being separated by "\n"

6 Answers
Related