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

how to calculate no. of repeating characters in a a
string..please give me the code

Answer Posted / vijay kumar chourasiya

Dim Str, ChkDup,i,Cnt
Str="aaabc"
For i = 1 to Len(Str) step 1
ChkDup=mid(Str,i,1)
Cnt = split(Str,ChkDup,-1)
result= Ubound(Cnt)
result1=result1&result
Next

MsgBox result1

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1941


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1678


How many types of status are there?

979


Is it possible to change the property value at runtime? How it is possible?

964


what is description object?

1989


please any one can explain the keyword driven framework. with gmail example.

2040


Can U Explain about QTP tool from older version to latest version also its differences?

1926


In qtp, how you can use xpath to identify objects?

1009


How to handle the exceptions using recovery secnario manager in quicktest professional?

1068


Explain how qtp identifies object?

1021


What is a checkpoint? How many check points are there in qtp?

929


Hoe can we do retesting using functions please give the code for it using login page

1898


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

2053


How to suppress warnings from the test results page?

959


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1051