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

Explain about merging of two repositories?

3 Answers  


Check point what is how many types of checkpoint and explain

3 Answers   Accenture,


what is recovery scenario in QTP? what is the need of the recovery scenario in QTP? what are the advantages of the recovery scenarios in QTP?

3 Answers   CTS,


Name the properties you would use for identifying a browser and page when using descriptive programming?

0 Answers  


What is the difference between functions and actions in QTP?

7 Answers   Verizon,






I have 5 no.of Action in my Test. Out off which i should make 3rd action as my start-up action. How should i make it?

9 Answers   IBM,


hi all need one help . i want scroll down and up but thing the holl page is taking webtable. i need to scroll down and up using scroll tab any bodu knows plz help its urjent regards balaji

5 Answers  


How can i open 5 multiple browser at once through QTP VB script

4 Answers  


Explain the new feature of UFT regarding the export of test results?

0 Answers  


Flight reservation using input and output parameter script.

1 Answers  


What is User defined function in QTP

6 Answers   Bank Of America,


How to handle dynamic objects in QTP?

4 Answers   Infosys,


Categories