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

hai there..this is chandu..i have a txt file which containing 1000 lines but at a time i want to retrieve 50 lines..after 50 lines i required to retrieve 51-100..like that i want...so could anybody help me in this...thanks in Advance..

3 Answers  


What is descriptive.create () in QTP?

3 Answers  


What is the limitation to XML Checkpoints?

0 Answers  


In a web page when we enter the city name corresponding zip code is coming in the required field.Can any one please write how to test using QTP,whether this code is coming from Database or not.

1 Answers  


What is the default add-ins in qtp?

0 Answers  






I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


What are metrics and matrix?

0 Answers  


What are the ways you can synchronize?

0 Answers  


why don’t use real time they r not using check points

1 Answers   Wipro,


How to interact tool & application build in QTP?

0 Answers  


How to insert a check point to a image to check enable property in QTP?

1 Answers  


Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


Categories