qtp script to return specified number of characters from a string-VBScript Mid Function example-vbscript function commands-scripts in QTP-QTP Scripts

Dim a

a=Mid("qtp",2)

msgbox a


Output-tp



Dim a

a=Mid("Testing",1,4)

msgbox a


Output-Test



Dim a

a=Mid("Software Testing",10,7)

msgbox a


Output-Testing

No comments:

Related Posts Plugin for WordPress, Blogger...