The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?
Answer Posted / ravi
str="POWER STAR PAVAN"
len1=len(str)
msgbox len1
str=replace(str,"A", "")
len2=len(str)
msgbox len2
a=len1-len2
msgbox a
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is the parameterization? Give one example?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
Explain QTP using different development techniques ?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
how many maximum number of virtual users we can create?
How to release all resources file from the QTP?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
How many add-ins comes by default with quicktest professional (qtp)?
what QTP Options do you know?
What is file database?
How many number of actions possible in qtp?
How do you check ticket cost and ticket number in flight application?
What are the different types of action?
what testplan contents and what test strategy contents,what is the diff b/w them
How to handle dynamic objects in quicktest professional (qtp)?