hai friend's ..
my question is
a[0]=I
a[1]=N
a[2]=D LIKE IT GO'S
i need output INDIA ,using simple string how will u do?
can any one tell really need full..

Answers were Sorted based on User's Feedback



hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / karthick

good ans ..same time instead of using
msgbox a(0)&a(1)&a(2)&a(3)&a(4)

why can't we use join function...i mean like this..

Dim myres,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"

myres=join(a)
msgbox myres

Is This Answer Correct ?    20 Yes 1 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / manjunathareddy

Dim a(4)
a(0)="I"
a(1)="n"
a(2)="d"
a(3)="i"
a(4)="a"
Msgbox a(0)&a(1)&a(2)&a(3)&a(4)

Is This Answer Correct ?    8 Yes 2 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / kishan

dim arr(4)

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

msgbox join(arr)

(or)


str=""
for i=0 to ubound(arr)
str=str&arr(i)
next

msgbox str

Is This Answer Correct ?    2 Yes 0 No

hai friend's .. my question is a[0]=I a[1]=N a[2]=D LIKE IT GO'S i need output IND..

Answer / sunita

dim str1,a(4)

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

for i=0 to ubound(a)
str1=str1+a(i)
next

msgbox str1

May be this is another way out.....correct me if i m wrong.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

What r types of parametarizations?

6 Answers  


How to connect the remote desktop using QTP 9.2 explain the method or procedure?

0 Answers   Magna Infotech, Oracle,


in Qtp,how to display user name and pwd (script)in data table(global sheet).

2 Answers  


Explain different checkpoints in qtp.

0 Answers  


Consider a scenario where there are two action sheets say action 1 and action 2. Can Action 1 take values from action 2 data sheet or vice versa. If so, how?

6 Answers   Oracle, TCS,






explain virtual object? in detailed? pls any one explain me?

4 Answers   Cap Gemini,


Hi all, can anyone tell me the challenges u faced while using qtp?

2 Answers  


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


If already everything is tested using White-Box testing, then what is the need of using Black box testing?

3 Answers  


what is the extension of action script template?

7 Answers   Capco,


How does you pass optional arguments in qtp?

0 Answers  


Explain quicktest professional testing process?

0 Answers  


Categories