title: Substring not working on returned ajax data object field
body: <p>I am not sure why this isn't working but the returned value for CellPhone is in the format <code>9999999999</code></p>
  
  <p>I need to inject dashes into it so that it's <code>999-999-9999</code> so I tried this:</p>
  
  <pre><code>$("#member-cellPhone-value").html(data[0].CellPhone.substring(0, 2) + '-' + data[0].CellPhone.substring(3, 5) + '-' + data[0].CellPhone.substring(6,9));
  </code></pre>
  
  <p>When the page renders it's actually rendering nothing.  But if I just do a strict data[0].CellPhone alone it does render the 9999999999 format</p>
  
  <p>so in other words my attempt to add those dashes is not working and in fact hiding the value altogether</p>