110,533
社区成员
发帖
与我相关
我的任务
分享
string temp = "index.aspx?id=1100";
int int_temp = temp.IndexOf("?id=");
string temp1 = temp.Substring(0,int_temp + 4);
string temp2 = "1" + temp.Substring(int_temp + 4,temp.Length - int_temp - 4);
temp = temp1 + temp2;