Please use the below script

str="my name is khan"
a=split(str, " ")

For i=0 to UBound(a)
b= StrReverse(a(i))
fn=Replace(b, left(b, 1), ucase(left(b, 1)))
opt=opt & " " & fn
Next

MsgBox opt


Regards
Uma Mahesh
8939192903


On Mon, Aug 26, 2013 at 11:01 AM, vimmi walia <[email protected]> wrote:

> Hi
>
> You can use split to convert this string in an array. Traverse the array
> elements one by one. Store the element in a variable apply strreverse
> function. Store at same array location. Once done for all the array indices
> use join to convert the array into string again.
>
> Thanks & Regards
> Vimmi
>
>
> On Monday, August 26, 2013, Raju Prasad <[email protected]> wrote:
> >
> >
> > write a program for the below requirment
> > input : my name is khan
> > output : Ym EmAn Si NaHk
> >
> > --
> > Thanks & Regards
> > Reddy Prasad
> > 9742618735
> >
> >
> >
> >
> > --
> > --
> > 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/groups/opt_out.
> >
>
> --
> --
> 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/groups/opt_out.
>

-- 
-- 
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/groups/opt_out.

Reply via email to