list = testString.Split(',').ToList();//把testString用","进行拆分,拆分结果为一个列表List<String>
bool b= testString.Contains(" ");//判断testString是否包含
string resString = testString.Replace(" ","").Trim();//将testString字符串中的" "替换为空,替换之后的字符串为resString