我的String str= "1,2,3,22 "
s=split( ", " str);
怎么得到里有几个元数? 还有Str里的字符串长度是不定的 有可能是| "1,2 ",等等
------解决方案--------------------------------------------------------
s.Length;
------解决方案--------------------------------------------------------
string str= "1,2,3,22 ";
string[] s= str.Split( ", ");
int xxx = s.Length;