join all the array values without using join function?



join all the array values without using join function?..

Answer / cnu_thatavarthi

Ans:
Option Explicit
Dim strValue, arrValue,iCount

arrValue = Array("Srinivasulu","Thatavarthi")

For iCount = 0 To UBound(arrValue)

strValue =strValue&" "& arrValue(iCount)

Next

MsgBox strValue

'Actual Output:
---------------------------

---------------------------
Srinivasulu Thatavarthi
---------------------------
OK
---------------------------

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

accept a string & display whether a is present or not

1 Answers  


write a vb script to add two 2*2 matrix

2 Answers  


Which function is used in the vbscript language to convert the specified expression into a date type value?

0 Answers  


Description.Create

0 Answers   IBM,


after medical test,when will be the police verification

0 Answers   IBM,


In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?

1 Answers  


Have any one know about Test Complete 6, please let me know. If any one have good material regarding Test Complete 6, Please send to my mail id: cns.praveen@gmail.com

1 Answers  


How to declare an array in vbscript?

0 Answers  


Which function is used to perform string comparison?

0 Answers  


Mention what is the main difference between function and sub-procedure?

0 Answers  


What is the difference between vb debugger and the script debugger?

0 Answers  


I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.

0 Answers  


Categories