just what I needed.
Thank you very much!
Type: Posts; User: raabhim
just what I needed.
Thank you very much!
yup, it's working. Thank you!
public String getPhoneNumber(String p){
return p.charAt(0) + p.charAt(1) + p.charAt(2)+ "-" +
p.charAt(3) + p.charAt(4) + p.charAt(5) + "-"...
Hi there.
Is there any method in the String class that will take 1234567899 and return - 123-456-7899 ?
Reason: get a user input for phone number and return it as a readable phone number format....