How can i count "spaces" in any sentence or a string
if suppose " It is a Testing question"
Here we have 4 gaps(spaces)
Is there any function to find out spaces between words
Answer Posted / nitin sharma
dim mystring
mystring = "QTP world is a software engineer"
msgbox Len(mystring)-Len(Replace(mystring," ",""))
'it will give count of spaces
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is quicktest professional (qtp window?
Is QTP supports Unix. If yes, then how the test automation is done?
What is keyword driven framework?
How to analyzing test results using quicktest professional?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
What is the use of ordinal identifier in qtp?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
What is output value? How many types of output values are there in qtp?
How many ways is to parameterize the value?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What is a reusable action?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers