QTP script to return the number of characters in a string-len function example-qtp script to display the number of characters in a string

Dim a

a=len("qtp")

msgbox " Length of String a is = " & a


Output-Length of String a is = 3



Dim a

a=len("Testing")

msgbox " Length of String a is = " & a


Output-Length of String a is = 7

No comments:

Related Posts Plugin for WordPress, Blogger...

Fun and Knowledge