can any one tel ,using simple string
a[0]=I
a[1]=N
a[2]=D like that it go's
.
.
out put i need INDIA help me it's really need full ..

Answers were Sorted based on User's Feedback



can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / lakshmi

You can use function JOIN

Dim arr(10)

arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"

Msgbox Join(arr) - it will display INDIA

Is This Answer Correct ?    7 Yes 0 No

can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / kishan

option Explicit

Dim Str, i, arr_len

Dim arr(10)

arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"



arr_len=Ubound(arr)

for i=0 to arr_len

Str=str&arr(i)
next

msgbox Str

Is This Answer Correct ?    6 Yes 0 No

can any one tel ,using simple string a[0]=I a[1]=N a[2]=D like that it go's . . out pu..

Answer / shyamala

a=array("I","N","D","I","A")
msgbox (a(0)+a(1)+a(2)+a(3)+a(4))

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx

0 Answers  


can u tell me the the cost of automation tool QTP ?

7 Answers   Ducont, Sonata,


what is file database

1 Answers   Wipro,


How to Import data from a ".xls" file to Data table during Runtime.

1 Answers   Crea,


Which version of QTP is using by companies nowadays?

4 Answers  






Wt is the difference between Business Component and scripted component?

1 Answers   BSL,


How to handle dynamic objects in quicktest professional?

0 Answers  


Can Any One Write How to Write the Script for Child Objects

4 Answers  


how to lunch the application in the qtp tool ?

3 Answers  


How we can add objects to the object repository during the running?is it possible or not?explain

3 Answers  


What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?

0 Answers  


What are the Latest Feature are added In QTP 9.2?

2 Answers   Infotech,


Categories