str="quicktest"

For i = 1 To len(str)
varChar = mid(str, i, 1)

If i mod 2 <> 0 Then
    varChar = Ucase(varChar)
End If
    varOpt = varOpt & varChar
Next

MsgBox varOpt

On Wed, Jun 21, 2017 at 4:35 PM, Barakathullah R <[email protected]>
wrote:

> exactly upper cases on few characters as mentioned... quick should be
> changed in to QuIcK like this
>
>
> On Wednesday, June 21, 2017 at 5:43:20 AM UTC+5:30, Barakathullah R wrote:
>>
>> I have been come across with these question in interview for string
>> function
>>
>> 1.question
>> [email protected]
>> this string should be replaced like this [email protected]
>> along with this those 12345 and 56789 should be added and return the sum
>> value
>>
>>
>> 2. question
>>
>> str=quicktest
>> this str string should be replaced like this QuICkTesT
>>
>>
>> can anybody help me on this
>>
> --
> --
> 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