string[] arr = System.Text.RegularExpressions.Regex.Split(str, "\r\n"); 转载于:https://www.cnblogs.com/guxingy/p/10330862.html