sName="Ravi Kiran"
sName=Split(sName," ")
sFirstName=sName(0)
sSecondName=sName(1)
sFirstNameLenght=len(sFirstName)
sLastNameLenght=len(sSecondName)
If sFirstNameLenght>sLastNameLenght Then
nTotalCount=sFirstNameLenght
Else
nTotalCount=sLastNameLenght
End If
For i=1 to nTotalCount
If i>sFirstNameLenght Then
sFstNameCha=" "
Else
sFstNameCha=Mid(sFirstName,i,1)
End If
If i>sLastNameLenght Then
sLstNameCha=" "
Else
sLstNameCha=Mid(sSecondName,i,1)
End If
sFNChar=sFstNameCha& sLstNameCha & vbnewline
print sFNChar
Next
On Sun, May 12, 2013 at 12:09 PM, Ravi kiran <[email protected]>wrote:
> Hi,
> I want to print letters in vertical order.
> for example:
> ravi kiran
> r k
> a i
> v r
> i a
> n
>
> --
> --
> 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.