Hi, i have a string like "INDIA". I need to display this
string vertically in Msgbox?



Hi, i have a string like "INDIA". I need to display this string vertically in Msgbox?..

Answer / lakshmi

Dim Str,I,J,Temp
Str="INDIA"
For i=1 to Len(Str)
J=Mid(Str,i,1)
Temp=Temp&J&VbCrlf
Next
Msgbox Temp


Please let me know if u any other answer which is simplest
than this.

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More QTP Interview Questions

What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

1 Answers   Accenture,


what is description object?

0 Answers  


How to get popup error message.

0 Answers   Tech Mahindra,


how to do regression testing in qtp? plz give ans with examples

6 Answers   TCS,


what is web application and client server application.is there any difference ?

1 Answers   Wells Fargo,






Can you expect major bugs in Net banking Application?

1 Answers  


if numbers are always changing write a script for that

1 Answers   Nous,


How QTP recognizes Objects in AUT?

1 Answers   Crea,


We have 10 rows in datatable at runtime we get error at 3rd row ? what is the procedure for continuing same test from 4th row on wards?

10 Answers  


Hi All, What is an XML Checkpoint in QTP? How can i use it while testing a web application? Kindly explain in detail. Thanks in advance

2 Answers  


what is the diff between manual test plan document and automation test plan doc.can u explain indetail.

0 Answers   Value Labs,


How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


Categories