用字符串分隔 :
1 | using System.Text.RegularExpressions; |
用多个字符来分隔:
1 | string str="aaajbbbscccjdddseee"; |
用單个字符来分隔:
1 | string str="aaajbbbjccc"; |
參考 : http://www.cnblogs.com/server-you/archive/2006/09/20/509342.html#Post
用字符串分隔 :
1 | using System.Text.RegularExpressions; |
用多个字符来分隔:
1 | string str="aaajbbbscccjdddseee"; |
用單个字符来分隔:
1 | string str="aaajbbbjccc"; |
參考 : http://www.cnblogs.com/server-you/archive/2006/09/20/509342.html#Post