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
what is actually contain test report? can anybody post the test report
What is the parameterization? Give one example?
1. wat are the main diff b/w QTP 8.0 AND QTP 9.2 ( not user interface) 2. wat is the meaning of Keyword in keyword driven frame work? 3. how u will handle the unknown errors while exucution. (not recovery scenario)
What is the registration process and examination fees?
what is review
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
What are the methods used in UFT to handle exceptions or run-time errors?
Explain advantages and disadvantages of ddf?
What is recovery scenario manager? When you go for recovery scenario manager? Tell me one scenario were your used recovery scenario in your project?
How to import a test case present in ".xls" file to TD under a Test set?
I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so
What are output values and why they are used ?
What contains Data Driven Framework document in qtp?
after click on compose mail how can we attached a file in qtp with vbscript code
when a test case is written how u test using qtp