I can only suggest that you iterate through the string entered and check each
character to see if it's either a ' ( ' , a ' - ' or a ' ) ', or a digit.
If each is in the correct position in the array, fine, otherwise send a
MessageBox to the screen advising to enter correct format.
I would also suggest that you wait for another reply as I have only been
studying programming for a few months.
"Poewood" wrote:
Is there a way to parse the contents of a textbox into a phone number format?
Actually I would like to save the input as a number but display it as a
phone number in the typical US format (000) 000-0000.
Thanx in advance,
Poe