string[] method1 = text1.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
2、正则分割
Regex re = new Regex(@"\r\n");
string[] method2= re.Split(text2);
3、替换后分割,例如替换成@
text3=text3.Replace ("\r\n","@");
method3 = text3.Split('@');