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
How you can find the absolute value of the number in qtp?
Define Environment Variable in UFT and its uses?
what is the hierarchy to use properties in descriptive programming
What is difference between run time object and test object?
What are the challenges u faced in testing with crm domain? How u overcome with?
How to interact tool & application build in QTP?
Explain building blocks of the bpt framework ?
Explain about datafile/verification of date file when file is not available in local system?
Can I change properties of a test object?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
How is UFT 11.5 version different from UFT 12.0?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
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?
What is the significance of “action 0” in qtp?
What are the major/ important methods, functions in QTP we use realtime testing