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
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment