The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / ram
str="POWER STAR PAVAN"
len1=len(str)
str=replace(str,"a", "")
len2=len(str)
a=len1-len2
msgbox a
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
How to define array in qtp?
how to write xml output check point bu useing descriptive programing .means without useing output check point
Explain the difference between check point and output value?
Who uses qtp tool?
Hai anyone please "Explain about Framework in QTP?"
How to suppress warnings from the test results page?
can anyone tell me from where i can download qtp demo or crack version
What is expert view in qtp?
Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?
What is the file extension of the code file in qtp?
How to creating an output value using quicktest professional (qtp)?
Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
explain how to write vb script in qtp?when will you write own script?
Brief the process of testing with UFT?