日期:2014-05-18 浏览次数:20784 次
string s="123124Tab123.2"; string[] t = s.Split(new Char[] { 'Tab' });
------解决方案--------------------
string[] str="123124Tab123.2".Split(new string[]{"Tab"},StringSplitOptions.RemoveEmptyEntries);
------解决方案--------------------
string s = "123124Tab123.2"; string[] ss = s.Split(new string[] { "Tab" }, StringSplitOptions.RemoveEmptyEntries);