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...

The string is like POWER STAR PAVAN , write a script for
this how to findout the number of "A" in the string ?

Answer Posted / uday

str="POWER STAR PAVAN"
counter=0
For i=1 to len(str)
strChar=mid(str,i,1)
If strChar="A" Then
counter=counter+1
End If
Next
msgbox counter

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1890


how to find that tools work well with ur existing system?

1917


how can we compare descriptive programing with a regular expression

2398


How you can replace string in qtp?

1076


How to find the difference between 2 dates in qtp?

1046


How to test login module with different username and password by using data driven testing in QTP?

1151


Explain how you can find length of array in qtp?

1068


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

1871


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1910


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

2176


Explain sub procedure of vbscript.

1050


Is it possible to call from one action to another action in qtp?

1022


wht type of User defined functions or Java Releated functions Do we write in VB scripting

1796


Explain the Different types of QTP test assets and their extensions?

1107


Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?

1941