The Join attribute function returns the values of the list concatenated in a string, divided by a data delimiter string.
Syntax | ||||
Join([DataDelimiter]) | ||||
Return value | ||||
Type |
Description | |||
String |
Values, concatenated and divided by data delimiter | |||
Parameter | ||||
Use |
Name |
Type |
Passing |
Description |
Optional |
DataDelimiter |
String |
ByVal |
Default: Apostroph character The data delimiting character |
Example:
Colors.Add({"red", "blue", "green"})
MsgBox(Colors.Join("; "))
#shows red; blue; green