title: Split and Add Space Between Phone Number
body: <p>I'm trying to format a telephone number into a neater format that adds a space between every third and seventh character from the front.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var string = "02076861111"
  var phone = [string.slice(0, 3), " ", string.slice(3)].join('');
  console.log(phone);</code></pre>
  </div>
  </div>
  </p>
  <p>Where do I place the method for the seventh character so <code>020 7686 1111</code> is returned?</p>
  <p>Any help is appreciated. Thanks in advance!</p>