c#代码问题
string input = textBox1.Text;string[] ss = Regex.Split(input, @"\.\,\?\;\:\,\。\?\;\:");
foreach (string str in ss)
{
textBox2.Text = str;
}
哪位师兄帮我看看啊 字符串的拆分怎么没有用啊~~~~~
string input = textBox1.Text; char [] split = new char[] {'.',',','?',';',':',',','。','?','。',';',':'}; foreach (string s in input.Split(split)) { textBox2.Text += s; }