strchr(s,',') if(!strcmp(s,"()")) break; 参考 https://blog.youkuaiyun.com/Dilly__dally/article/details/82261077