I used MyString.Split(Environment.Newline.ToCharArray()[0]) to split my string from a file into different pieces. But, every item in the array, except the first one starts with \n after I did that? I know the way that I’m splitting by newlines is kind of “cheaty” for lack of a better word, so if there is a better way of doing this, please tell me…
Here is the file…

If you are wanting to maintain using the
.Split()instead of reading a file in a line at a time you can do…EDIT:
The problem you were having is that in a non-unix environment the new-line “character” is actually two characters. So when you grabbed the zero index you were actually splitting on a carriage return…not the new-line character (\n).
Windows = “\r\n”
Unix = “\n”
Per http://msdn.microsoft.com/en-us/library/system.environment.newline.aspx