how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / vinod
str = "abdabcefghefg"
J=0
K=1
z=""
For i=1 to len(str)
x= mid(str,i,1)
If InStr (1, z,x,1) Then
Else
z=z&x
'msgbox z
End If
Next
For i=1 to len(z)
x= mid(z,i,1)
y = split (str,x)
If Ubound (y)>1 Then
varCount=varCount+1
End If
Next
msgbox varCount
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Call to copy of an action and call to existing action… i know the diff but in real project how to use..? i want live scenario.pls help me..
What are the properties you would use for identifying a browser and page when using descriptive programming?
is it possible to add sheets to excel at runtime
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
Can we use index on view?
What are the benefits of qtp?
What is the differences between image check point and bit map check point?
What is qtpro?
Why bpt?
What is the difference between rational rose and QTP?
What is checkpoints for qtp?
What are the challenges you faced during you entire life automation ?
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
What is the script for database check point, bitmapchek point, regular expression ?
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also