Well, in standart ASCII table new line is 10. So just seek for Convert.ToChar(10) char in your string. What about string functions in C#, well, they are not so good as in, for example, VB, so I prefer to use a string as an array of chars. For ex:
string s = "Test";
then: s[0] = 'T'...