摘要: string test = "程$晓$"; //数组长度为2 temp[0]="程" temp[1]="晓"; string[] temp = test.Split(new string[] { "$" }, StringSplitOptions.RemoveEmptyEntries); //数组长度为3 temp[0]="程" temp[1]="晓" temp[2]=""; string[] temp = test.Split(new string[] 阅读全文
posted @ 2012-08-02 15:59 小薇林 阅读(134) 评论(0) 推荐(0) 编辑