QTP Tutorials & Interview Questions
(now includes most useful Software Testing Questions)
Friday, November 19, 2010
VBScript Code - Finding the position of specific word in string
Write the below code in a notepad and save it as a .vbs file. Either run it from command prompt or run it by double-clicking on it.
VBScript Code
-
Finding the position of specific word in string
x="Hello World!"
Msgbox Instr(x,"World")
Newer Post
Older Post
Home