QuickTest Professional
The One you can learn
Right Click Disabled
Wednesday, February 22, 2012
VBScript code in QTP to display number of words in given sentence
Option explicit
Dim sentence, nw
sentence=inputbox("Enter any sentence : ")
nw=split(sentence," ")
msgbox("Number of words in given sentence is : "&ubound(nw)+1)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment