C#的split函数分割

C#的split函数分割-LMLPHP

C#的split函数分割-LMLPHP

C#的split函数分割-LMLPHP

C#的split函数分割-LMLPHP

            string str = textBox1.Text;
string[] strlist = str.Split("\r\n".ToCharArray(), StringSplitOptions.RemoveEmptyEntries);//返回值不包含空字符串元素,
string[] temp = str.Split(new char[] { '\r', '\n' }, StringSplitOptions.RemoveEmptyEntries);
item[].Column2.Replace("本户", "\t本户").Split("\t".ToCharArray(), StringSplitOptions.RemoveEmptyEntries); 

var  words = strs.Split((string[])strlist, StringSplitOptions.RemoveEmptyEntries);

05-11 18:17