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

Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)

0 Answers  


How to customize checkpoints with parameters?

0 Answers  


How to connect to a database?

0 Answers  


how to retrieve data from the data table (from a particular cell)

7 Answers   Cap Gemini,


hi all, I want to know about the QTP scripts, i have read more books but all areis to be a theory so how can i improve my script skills. if anybody knows about qtp scripts plz guide me and i need a sample scripts.my mail id is karthis4u@gmail.com, 9986667831 If you all have any data send it to akadi111@gmail.com

3 Answers  






How do you invoke any application and write a script to invoke QTP using VB Script.

2 Answers   HealthAsyst,


How do we count the no of mails in Yahoo Inbox for a specified week?

0 Answers  


What is the differnce between action & script

2 Answers   Lehman Brothers,


write vb script code to delete the duplicate values in an array.

4 Answers   ADP,


How does QTP identifies the object in the application?

1 Answers   Crea,


what is the abbrivation of .mtr in action reposirtory?

8 Answers   GE,


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

2 Answers  


Categories