Another way may not be the best
string myTest = "Line1Test" + Environment.NewLine + "Line2Test" + Environment.NewLine + "Line3Test" + Environment.NewLine; string[] parseStr = myTest.Split(Environment.NewLine.ToCharArray()).Where(i => i != string.Empty).ToArray();
user372724
source share