Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel

2331


How to associate function library at a run time?

1080


how u will evaluate the tool for test automation?

1799


you are recording on "WINDOW 1", say it has a link if you click on that, that leads you to "WINDOW 2". If you do any manipulations on "WINDOW 2" that are automatically updated in to "WINDOW 1". But "WINDOW 1" is currently invisible. But the updations in "WINDOW 1" must also be recorded as a script in QTP. The best Example is if you update your resume in JOB STREET portal it actually happens in other window, but the previous window is automatically updated. Now does QTP help you in this types of situations? Any body can answer this question. please..... Siva

1872


In qtp, how you can get the last character from a string?

951


What are the differences between quicktest professional (qtp) and winrunner?

993


how to acess a test in RSA?

2163


what type of automation is follwed in the project?

1882


Define Environment Variable in UFT and its uses?

1000


How to customize qtp?

987


How to analyzing test results using quicktest professional?

1123


Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)

3652


How to carry out bit map check points in QTP

2140


Explain how you can find length of array in qtp?

1005


Diff b/w test scenario's and test Procedures?

2073