摘要:
方法如下,使用正则表达式: stringabc="345555567611";stringstr=System.Text.RegularExpressions.Regex.Replace(abc,@"\s+",",");string[]aa=str.Split(',');也可以直接分割:string[]aa=System.Text.RegularExpressions.Regex.Split(abc,@"\s+");from: http://hi.baidu.com/zhenzhounew/item 阅读全文
posted @ 2013-05-25 20:44 yushff 阅读(1094) 评论(0) 推荐(0)
浙公网安备 33010602011771号