The Join function returns a string that consists of a number of substrings in an array.
Parameter | Description |
---|---|
list | Required. A one-dimensional array that contains the substrings to be joined |
delimiter | Optional. The character(s) used to separate the substrings in the returned string. Default is the space character |
Separating items in an array, with and without using the delimeter parameter:
The output of the code above will be: