我有一个字符串
string a = "(something is there),xyz,(something there)";
Run Code Online (Sandbox Code Playgroud)
而且,我用这个
string s = "(something is there),xyz,(something there)";
int start = s.IndexOf("(") + 1;
int end = s.IndexOf(")", start);
string result = s.Substring(start, end - start);
Run Code Online (Sandbox Code Playgroud)
但是我想用第二部分(something there)
怎么做呢?