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 / annie
a=inputbox("enter the string")
countspaces=len(a)-len(replace(a," ",""))
msgbox "count is" & countspaces
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to handle dynamic objects in quicktest professional (qtp)?
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
Discuss quicktest professional environment?
Whether qtp 9.0 supports Test director8.0
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
How many tabs are available in debug viewer pane?
What contains Data Driven Framework document in qtp?
If object is not recognized by qtp but the object is standard object what is your approach?
Hi any body pls help me for QTP 11.0 software free demo version. i have to practice. Kindly send the link.or where i have to download.
what function you write to do database testing with the help of qtp?
Explain the difference between data driven testing and parameterization ?
How to export quicktest professional results to an .xls file?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
when will you do debug your script? and explain that process?
I recorded a Web App with a Oracle backend using QTP 9.5 and for some reason the scripts don't play back> What am I missing at this point. I recorded the same Apps under Sybase and they work great. This is Oracle 10g. Why won't my scripts play back.