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 you can find the absolute value of the number in qtp?

972


Define Environment Variable in UFT and its uses?

1036


what is the hierarchy to use properties in descriptive programming

1960


What is difference between run time object and test object?

1032


What are the challenges u faced in testing with crm domain? How u overcome with?

1918


How to interact tool & application build in QTP?

1913


Explain building blocks of the bpt framework ?

1036


Explain about datafile/verification of date file when file is not available in local system?

2694


Can I change properties of a test object?

1102


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1940


How is UFT 11.5 version different from UFT 12.0?

1029


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

7425


If the weblist is identified as webelement,and by clicking on webelement if the values are displayed,and if the values the values also identified as webelement.then how to fetch the values through script?

5205


What is the significance of “action 0” in qtp?

1005


What are the major/ important methods, functions in QTP we use realtime testing

2769