string s = "dsafdfgasd||455565"; string reg = "||"; string[] str = Regex.Split(s, reg, RegexOptions.IgnoreCase); foreach (string i in str) Response.Write(i.ToString());為什么這樣的結(jié)果相當(dāng)于沒有分割。而string s = "dsafdfgasd||455565"; string reg = "ga"; string[] str = Regex.Split(s, reg, RegexOptions.IgnoreCase); foreach (string i in str) Response.Write(i.ToString());可以分割成兩個字符串呢,求正解!小弟感激不盡
- 2 回答
- 0 關(guān)注
- 882 瀏覽
添加回答
舉報
0/150
提交
取消