摘要: 1 string str = " asdf asd saddf sdfwrqeqw a asdf "; 2 string[] strs = str.Trim().Split(new char[]{' '},StringSplitOptions.RemoveEmptyEntries); 3 string finallStr = string.Join(" ",strs); 阅读全文
posted @ 2017-12-07 17:00 liu_xh 阅读(2130) 评论(0) 推荐(0)