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

Explain about scrrun.dll in vbscript?

0 Answers  


how to check whether link is disabled in QTP??

0 Answers  


Mention the environments where vbscript could be run?

0 Answers  


Explain about .wsf files?

0 Answers  


1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 how to find using vbscripting

3 Answers  


How will you trim the spaces on the left of a string using vbscript?

1 Answers  


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

0 Answers  


write a program to display configuration of a local system with the help of vb script.

0 Answers  


How can the spaces from the string be removed?

0 Answers  


how to validate the text in a web table

2 Answers   Mphasis,


What are the disadvantages of vbscript?

0 Answers  


What are lbound and ubound in the vbscript language?

0 Answers  


Categories