Returns a new string by concatenating the elements of the sequence, adding the given separator between each element.
- Xcode 7.1+
- Swift Standard Library
A single, concatenated string.
The following example shows how an array of strings can be joined to a single, comma-separated string: