string Str="sadad";
int i=Str.IndexOf("s");

解决方案 »

  1.   

    Up! up!那原来的Asc()和Chr呢?
      

  2.   

    谢谢,CMIC(大象)!
    那么怎么实现在vbscript中的IsNumeric()的函数的功能呢?
      

  3.   

    我想实现这样的功能!
      If t16.Substring((intStart2 + 2), 1).GetType=System.Int32 Then
     'processCode……
      End If可是visual studio.net 提示Int32 是System中的类型,不能用作表达式!
    ????help me!!!!!
      

  4.   

    是不是GETTYPE不行!用STRING VALUE = "1234567890" 枚举行么?