摘要: 1,分出字符串 protected void Button1_Click(object sender, EventArgs e) { //把一个字符串按|号分出来输出,但不输出掉空格 string a = "a|b||||c||d"; StringBuilder sb=new StringBuilder (); string[] ss = a.Split(new char[] { '|' }, StringSplitOptions.RemoveEmptyEntries... 阅读全文
posted @ 2013-03-21 23:03 apecoder 阅读(144) 评论(0) 推荐(0) 编辑