http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28000451&frame=true另:函数参考???你是以前是做VB的吧???把类的概念理清先.OO

解决方案 »

  1.   

    “方法”
    不好意思,初学C#
    我想说的是在php中截取字符串可以用substr()函数,C#中该怎么做?
      

  2.   

    用String.Substring 
    参考:
    ms-help://MS.VSCC/MS.MSDNVS.2052/cpref/html/frlrfSystemStringClassSubstringTopic.htm
      

  3.   

    刚看到string类中的SubString()方法!
      

  4.   

    一切都是对象拉...(实例化)对象dot方法 类dot静态方法