s="11/22/33/44/55"现在要变成"22/33/44/55",即把第一个"11/"去掉,变成"22/33/44/55".那位能写一下源码,谢谢.

解决方案 »

  1.   

    int i=s.IndexOf("/");
    s=s.SubString(i+1);
      

  2.   

    谢谢,但是提示错误,是什么原因:
    错误 1 “string”并不包含“SubString”的定义 D:\WB Source Code 20080412\english\english-
      

  3.   

            string s = "11/22/33/44/55";
            int i = s.IndexOf("/");
            s = s.Substring(i + 1);
            Response.Write(s);
      

  4.   

    string s = "11/22/33/44/55";
    MatchCollection maction = Regex.Matches(s, "(?<=/).*")string str = maction[0].Value;