title: Adding Dashes to a number without many lines of code
body: <p>I have a number returned from the database</p>
  
  <p>e.g. </p>
  
  <pre><code>329193914
  </code></pre>
  
  <p>What I would like to do it simply be able to just insert dashes every 3 characters.</p>
  
  <p>e.g. </p>
  
  <pre><code>329-193-914
  </code></pre>
  
  <p>I was looking at regex, replace and slice ,  slice I had a hard time with as a lot of example are like  f.value  and i'm not passing in "this" (entire element) </p>