There is a name "AJAY" how do u count no.of. "A" in that
name ?

Answer Posted / nayana

Dim str

str="ajay"
b=len(str)

for i=1 to b
c=mid(str,i,1)
if c="a" then

d=d+1




end if
next
msgbox d

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Test Fusion Report in QTP?

621


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

2872


What are the different types of action?

556


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

1611


What are the advantages of qtp?

578






what is Property......End Property loop? how to write sript for it in QTP

1895


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

614


what is the mail use of frame work(with detail). architecture for keyword driven frame work

1420


how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??

1588


banking domain description for software tester for interview

3469


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2267


When ‘option explicit’ keyword is used in qtp?

750


They asked by using qtp recording writing scripting

2069


when a test case is written how u test using qtp

1654


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

1462