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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is reusable action?

591


How to export quicktest professional (qtp) results to an .xls file?

591


What are the benefits of quick test pro(qtp)?

556


How do Parameterization and Data-Driving relate to each other in QTP?

552


What is data driver in qtp? Where we use it?

559






What is the use of running the scripts in Hidden-mode in UFT?

676


What will be happen if i load object repository at run time, but it has already associated.

1253


how will you check how many members visited the website www.infosys.com?

1476


What are the types of data tables in qtp?

575


What are the views available in qtp?

576


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1492


What is the default add-ins in qtp?

550


What are the data types in qtp?

659


How many types of parameters are available in quicktest professional?

514


How do I get the QTP scripts result in xml format by using vb script function?

1776