How to find the numbers from the string in QTP?


   Str="abcdef86&*nd..78a."
   b=len(str)
   msgbox b
   For i=1 to len(Str)
        a=mid(Str,i,1)
        If ( isnumeric(a)=True) Then
                temp= temp&a
        End If
   Next
   msgbox temp
Output :

Comments

Popular posts from this blog

Is QA a easy job?

Latest Version of TestComplete

Successful tester