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
To which environments does quicktest professional supports?
what is clean sweep?
What are some test assets and related extensions of qtp?
They asked by using qtp recording writing scripting
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading
Explain the use of action split in qtp?
What is a quick test professional?
In qtp, how you can get the last character from a string?
How does quicktest professional (qtp) identifies the object in the application?
Without using gui map editor we can recognize the application in winrunner ?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
What are the ways you can synchronize?
What is checkpoint in qtp?
How does QTP identify an object?