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 / sri
s="Gita is a good girl "
d=split(s," ")
count =0
For i=ubound(d) to 1 step -1
count =count +1
Next
msgbox count
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
How many ways we can parameterize data in quicktest professional (qtp)?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
Where to use function or action?
what is the difference between development and testing
What is qtpro?
hou can we use vb script in qtp could u tell me breafly
What is the difference between call to existing action and copy of an action?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
Is it possible to switch between recording modes during a test creation?
What are the different recording modes?
Can we Test Welcome Screens and Process Images with QTP
Whether qtp 9.0 supports Test director8.0
What phases are involved in testing an application in qtp?
How QA specialist can identify when programmatic descriptions are useful?
Can we run test with out adding object in object repository? How it is possible?