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
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
What are the Test design techniques you uses in ur project?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
how to prepared for first for the first interview?
What is contained in the object repository?
What is optional step in qtp? How you can add optional step in qtp?
I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”
How to save your test using quicktest professional?
Hi All, How to get repeated word in string . Thanks Balaji
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Do you know how to connect database? Can you tell me the procedures?
what is the latest version of QTP? Main difference between 9.2 and 10 version
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
how u will evaluate the tool for test automation?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.