please try with below code.it should work. str="ravi kiran" astr=Split(str, " ") L=Len(Replace(str," ","")) For k=1 To L For i=k To k var=var&Mid(astr(0),i,1)&vbtab next For j=k To k var=var&Mid(astr(1),j,1)&vbLf Next Next MsgBox var
thanks, Bhuvan 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. > > > -- Thanks, Bhuvan 9640391013. -- -- 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.
