现在有一这样 字符串:
string txt="(-1,12,23,32,24,24,67,876,666)"; string subTxt = txt.Substring(4, txt.Length - 5); string[] SplitTxt = subTxt.Split(','); foreach (string str in SplitTxt) { MessageBox.Show(str); }
现在有一这样 字符串:
string txt="(-1,12,23,32,24,24,67,876,666)"; string subTxt = txt.Substring(4, txt.Length - 5); string[] SplitTxt = subTxt.Split(','); foreach (string str in SplitTxt) { MessageBox.Show(str); }