C#
string[] arr=textStr.Split(new string[]{"/r/n"},StringSplitOptions.RemoveEmptyEntries)
原文链接:/vb/261755.htmlVB.NETDim ss As String () = str .Split( New Char () {ControlChars.Lf,ControlChars.Cr},StringSplitOptions.RemoveEmptyEntries)
C#
string[] arr=textStr.Split(new string[]{"/r/n"},StringSplitOptions.RemoveEmptyEntries)
原文链接:/vb/261755.htmlVB.NETDim ss As String () = str .Split( New Char () {ControlChars.Lf,ControlChars.Cr},StringSplitOptions.RemoveEmptyEntries)