这个字符该怎么分割? "a","100,00","b","200,00"我想按","分割,该怎么写? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string a = "a,100,00,b,200,00" ;string[] b = a.split(','); string[] b="a,100,00,b,200,00".split(','); string s = "a,100,00,b,200,00";string[] separator = new string[] { "," };string[] str = s.Split(separator, StringSplitOptions.RemoveEmptyEntries); 有关接口的问题!十万火急。。。 使用SendMessage选择LookupCombobox的项? 请问专家:comboBox读出来的数据为什么会变成System.Data.DataRowView? 两个问题问一下 为什么C#程序会在编译Release后的Exe中保存当前信息的一些隐私信息 帮忙看下输入问题 关于写字板的退出按钮怎么写啊 IE的连接中设置为使用自动配置脚本FlashGet的代理如何设置? 关于界面设置技巧的一个小问题!(JavaScript) 关于使用oracle中的TYPE 大哥们,救一下吧!请教一个闷了我好多时间的问题? 水晶报表打印!高手救救!急用!
string[] b = a.split(',');
string s = "a,100,00,b,200,00";
string[] separator = new string[] { "," };
string[] str = s.Split(separator, StringSplitOptions.RemoveEmptyEntries);