C#删除字符串指定字符

string pa = dataGridView1.Rows[i].Cells[0].Value.ToString();
string[] split = pa.Split(new char[] {':', ',', '、', '!', '-', '(', ')',' ', '·' }, StringSplitOptions.None);
pa = split.Aggregate((str1, str2) => str1 + str2);

string pa = dataGridView1.Rows[i].Cells[0].Value.ToString();
string[] split = pa.Split(new char[] {':', ',', '、', '!', '-', '(', ')',' ', '·' }, StringSplitOptions.None);
pa = split.Aggregate((str1, str2) => str1 + str2);

你可能感兴趣的:(C#,c#,java,前端)