Thank you. Got the solution

Dim Str, ChkDup,i,Cnt
Str="hi good morning"
For i = 1 to Len(Str) step 1
ChkDup=mid(Str,i,1)
Cnt = split(Str,ChkDup,-1) 
result= chkDup&Ubound(Cnt)
result1=result1&vbcrlf&result
Next

MsgBox result1




On Tuesday, May 23, 2017 at 3:49:27 PM UTC+5:30, kiran wrote:
>
> Learn vb script string handling functions and u r good to go
>
> On Wednesday, May 17, 2017, Vulisetty Siridurga <[email protected] 
> <javascript:>> wrote:
>
>> Hi guys,
>>
>> Can anyone help in solving these scripts
>>
>> 1.how can I validate an image of which properties are dynamically 
>> changing?
>>
>>
>> 2.for example there is a string str=`hi good morning '
>> Here I need to display the occurrences of each character that is
>> ' O' is repeated 2 times
>> 'm` is repeated 1 time
>> Like wise all characters
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "QTP - HP Quick Test Professional - Automated Software Testing" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to