how to calculate no. of repeating characters in a a
string..please give me the code
Answer Posted / amol ghule
' A shorter version of code
Option Explicit
Dim getChar,strLen,ascChar(),CharCount,i,UniqChar,getRes
getChar="TestmyKnowledge1221"
strLen=Len(getChar)
ReDim ascChar(strLen)
For i=0 to strLen-1
ascChar(i)=Mid(getChar,i+1,1)
getRes=Split(getChar,ascChar(i),-1,1)
If ubound(getRes)=1 Then
UniqChar=UniqChar&" "&ascChar(i)
End If
Next
msgbox UniqChar
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How many types of Automation frameworks are there in UFT? Describe them.
how did u use automating testing tools in ur job?
What are the two types of repositories available, explain them?
what the difference between shared repository and per action repository?
explain abt dyanamic changing object with example?
What are the different types of qtp test assets and their extensions?
What are the technics follow in writing VB script?
What is debugging? How you debug your script?
Diff b/w test scenario's and test Procedures?
Difference between test object and run time object?
Is it possible to switch between recording modes during a test creation?
What is the registration process and examination fees?
How you can decide which type of object repository you have to use?
Please Don't mind .i want in detail the real time process i.e in each document what it contains.