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
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
What is the pros and cons between QTP and Rational Robot
Explain the concept of object repository and how quicktest professional recognises objects?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
How can i test an application like Google Earth.In my application data will be fetched from a oracle database based upon which graphs are generated..so these all are dynamic..how can i use qtp here..alongwith that how can i test the map generated by a satellite just like google earth..
How to find a window is minimized or not
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?
Differentiate the type of test cases which can be automated and which cannot be automated?
What is the diff between image and bitmap check point?
Is the qtp course will help to create a virtual object?
Which scripting language used by quicktest professional?
What is test object model in quicktest professional (qtp)?
Explain building blocks of the bpt framework ?
Why is Client side image is preferred over server side image?