Joins the subtrings of an array of strings (x) and puts them together, optionally using a custom delimiter.
Join( x ) Join( x, y )
x | A string array containing the strings to join |
---|---|
y | A delimiter to insert between the substrings [OPTIONAL, default is " "] |
String
join(["abc", "def", "ghi"]) // Returns the string "abc def ghi" join(["abc", "def", "ghi"],"") // Returns the string "abcdefghi"