标签:http tar ring src amp string str ref inter
int i=zifuchuan.IndexOf(",");
int n=(zifuchuan.SubString(i+1)).IndexOf(",");
int index=i+n;
index就是你求的第二个“,”的位置
如果求的是第三个第四个“,”的位置,就要用递归函数来写,具体思路跟上面的代码差不多
标签:http tar ring src amp string str ref inter
原文地址:https://www.cnblogs.com/bwdblogs/p/10048701.html