how to count spaces in a given string ex: "this is jagadeesh"
in QTP with simple functional script
Answer Posted / nahush
txt = "this is jagadeesh"
no_of_space = len(txt)-len(replace(txt," ",""))
MsgBox no_of_space
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain advantages and disadvantages of ddf?
Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?
What is environment variable in qtp and why to use it?
What are the features supported by UFT?
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
what is clean sweep?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How can you send user defined messages to test report?
How can I check if a environment variable exist or not?
What is the parameterization? Give one example?
How does quicktest professional (qtp) identifies the object in the application?
What is Port testing. Whhen will you perform?
Where you get the run time data table?
How to release all resources file from the QTP?