 string
as <code>separator</code>.</p>

<pre><code class="language-swift">var separated = &quot;&quot;
print(1.0, 2.0, 3.0, 4.0, 5.0, separator: &quot; ... &quot;, to: &amp;separated)
// separated == &quot;1.0 ... 2.0 ... 3.0 ... 4.0 ... 5.0\n&quot;</code></pre>

<p>The output from each call to <code>print(_:separator:terminator:to:)</code> includes a
newline by default. To print the items without a trailing newline, pass an
empty string as <code>terminator</code>.</p>

<pre><code class="language-swift">var