# VBScript Join Function
* * Complete VBScript Reference Manual](#)
* * *
The Join function returns a string that consists of a number of substrings in an array.
### Syntax
Join(list[,delimiter])
| Parameter | Description |
| :--- | :--- |
| list | Required. One-dimensional array containing substrings to be joined. |
| delimiter | Optional. Character used to separate the substrings in the returned string. Default is a space character. |
## Examples
## Examples
Separate items in an array with and without using the delimeter parameter:
days=Array("Sun","Mon","Tue","Wed","Thu","Fri","Sat")
document.write(Join(days) & "
")
document.write(Join(days,",") & "
")
document.write(Join(days," ### "))
The output of the above examples:
Sun Mon Tue Wed Thu Fri Sat
Sun,Mon,Tue,Wed,Thu,Fri,Sat
Sun ### Mon ### Tue ### Wed ### Thu ### Fri ### Sat
[Try it Β»](#)
* * Complete VBScript Reference Manual](#)
Func Join
π
2026-06-13 | π C#
YouTip