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
Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.
Can anyone share/send me QTP 8.2 Crack as I had it before but now it's virus affected. Pls send me on Sawale.vijay@gmail.com Thanks, ~Vijay
what QTP Options do you know?
How will you declare a variable in qtp?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What are private functions in QTP? How they can be called from the function library?
When should I use smart identification?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
How many types of run modes are there in qtp?
What are the advantages of parameterization ?
Explain the difference between data driven testing and parameterization ?
how do i know how to use tools
What are the views available in qtp?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance