Regex reg = new Regex("(-)");
string[] str = reg.Split("one-two-three");

Regex reg = new Regex("-");
string[] str = reg.Split("one-two-three");
的區(qū)別。
加括號(hào)和不加括號(hào)有什么區(qū)別
輸出分別為:one???????? one
??????????????????????? -??????????? two
???????????????????? ?two??????????three
?????????????????????? ? -
??????????????????? ? three?