How to get specific line from a string in C#?

Posted by tomaszs on Stack Overflow See other posts from Stack Overflow or by tomaszs
Published on 2010-04-09T09:43:35Z Indexed on 2010/04/09 9:53 UTC
Read the original article Hit count: 586

I have a string in C# and would like to get text from specific line, say 65. And if file does not have so many lines I would like to get "". How to do this?

© Stack Overflow or respective owner

Related posts about string

Related posts about c#