使用replace的好像不行,会把所有数组中的字母全去掉
删除一些is、the、a介词副词之类的
string htmlstr = "";
string str = TextArea1.Value;
str = str.Replace('.', ' ');
str = str.Replace(',', ' ');
str = str.Replace('?', ' ');
str = str.Replace(';', ' ');
str = str.Replace(':', ' ');
str = str.Replace('!', ' ');
string[] str1 = str.Split(' ');
string[] value = str1;
这些词前或后必定有空格,你可以带上空格一起replace