11 2012 档案

C#字符串内多个空格合并成1个
摘要:public static string CombineInsideSpaces(string orinStr) { List<int> poses = new List<int>(); for (int i = 0; i <= orinStr.Length - 1; i++) {//获取所有空格位置 if (orinStr[i] == ' ') { poses.Add(i); } } ... 阅读全文

posted @ 2012-11-22 09:44 imihiro 阅读(2372) 评论(0) 推荐(0)

点CMS
摘要:DianCMS 阅读全文

posted @ 2012-11-17 07:32 imihiro 阅读(162) 评论(0) 推荐(0)