title: String Manipulation insert a character every 4th character
body: <p>In Android if I have an edit text and the user entered 123456789012, how could I get the program to insert a dash every 4th character. <strong>ie: 1234-5678-9012</strong>?</p>
  
  <p>I guess you need to say something along the lines of:- 
  <code>a=Characters 1~4, b=Characters 5~8, c=Characters 9-12</code>, Result <strong>= a + "-" + b + "-" + c</strong>. But I am unsure of how that would look in Android.</p>
  
  <p>Many thanks for any help.</p>