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 key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
What is throw object?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
What are the ordinal identifiers in web page?
What are the types of properties that quick test learns while recording?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
How to handle dynamic objects in quicktest professional (qtp)?
What is a programmatic description?
Explain xml checkpoints.
why text area checkpoints cannot used for web applications
How to do call a output parameter from one action to another action??/
What is fragmentation and paging?