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 create a standard checkpoint ?
What is an optional step in qtp ?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
why text area checkpoints cannot used for web applications
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
How did you resolve conflicts present in Object Repository?
What is the pros and cons between QTP and Rational Robot
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
Is it possible to call from one action to another action in qtp?
Which functionalities of QTP used in banking project? pls any say answer?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
what are the utilities and drivers
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
what is impact analysis on regression testing?