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

for a test in QTP i had choose the object repository as shared.after completion of some days i want to conduct the same test again,now the question is HOW TO LOAD THE OBJECT REPOSITORY. is it possible by descriptive programming.could any one tell me how many ways we load it and what is the process?

13 Answers   Logica CMG,


how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons

2 Answers   Aspire,


DIFFERENCE BETWEEN WR 8.2 & QTP 8.2? HOW TO INTEGRATE WITH SOME OTHER TOOLS?

1 Answers   CTS, Maveric,


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

7 Answers   Xansa,


What is your role and responsibilities in QTP with your current organization?

1 Answers   Oracle,


i want 8.2 and 9.2 dacuments plhelp any body sand it to my id sandhyat1@yahoo.co.in

3 Answers   Siloka,


How QTP integrate with application?

1 Answers  


i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function?

3 Answers   CTS,


Plz explain about MATCH/EXACT MATCH/IGNORE SPAGE in text check points?

1 Answers  


regular expression in qtp standar check point for months from accepting months from january to december only

0 Answers  


How to create scenario selector

0 Answers  


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

0 Answers  


Categories