Returns the concatenated elements of this sequence of sequences, inserting the given separator between each element.
- Xcode 10.2+
- Swift Standard Library
A sequence to insert between each of this sequence’s elements.
The joined sequence of elements.
This example shows how an array of
[Int] instances can be joined, using another
[Int] instance as the separator: