Join Function

Syntax

Join(StrArray, [Sep])

Group

Miscellaneous

Description

Return a string by concatenating all the values in the array with Sep in between each one.

Parameters

Parameters Description
StrArray Concatenate values from this array.
Sep Use this string value to separate the values. (Default: " ")

Example


Sub Main
    Debug.Print Join(Array(1,2,3)) '"1 2 3"
End Sub

See also

Split( )