title: split US phone number in java?
body: <p>I have a requirement as below. i have US phone number (10) digits and i need to extract areacode, prefix and number from it.</p>
  
  <pre><code>Ex: 1234567890
  it should take 1234567890 and it should return 3 strings as below:
  
  123
  456
  7890
  </code></pre>
  
  <p>How can i do that?</p>
  
  <p>Thanks!</p>