How to count only alpha characters in a string?

    str="Ma$%%dh1"
    strlen=len(str)
    alphacount=0
    For counter=1 to strlen  
        If not isnumeric(mid(str,counter,1)) Then  
            alphacount=alphacount+1
        End If  
    Next  

    msgbox alphacount
            

Comments

Popular posts from this blog

Is QA a easy job?

Latest Version of TestComplete

Successful tester