Knowledgebase:
JoinArray
Posted by Mohammad Rahhal, Last modified by Rawan Al Hourani on 16 July 2017 02:30 PM

Syntax

Public Function JoinArray(sourceArry As Variant, Optional Delimeter As String) As String

This function is used to return a string created by joining a number of substrings contained in any array.

Parameters

Key Description
sourceArry One-dimensional array containing substrings to be joined.
Delimeter Any string used to separate the substrings in the returned string, value of type String

Return value

Returns a string value.

Exceptions

Error number Condition
5 sourceArry is not one dimensional;

Sample

 Public Sub main ()
 Dim Arr

 CopyHigh 0, 10, 10, Arr
 MsgBox JoinArray (arr,"/") 
 End sub


See Also


Back to VTL Client Script Index

(1 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

Help Desk Software by Hybrid Solutions