BoulderBum
Programmer
We have data stored like this:
3035557777
303555777744 <- extension 44
With the built-in formatting, it's easy enough to display the first number like:
(303) 555-7777
but the second number will get displayed like:
(30355) 577-7744
Is there a format string to say, put the first few numbers in the normal phone number, then dump all additional characters at the end?
I tried:
(###) ###-#### ##
Which sort of works, but I need a # symbol for each possible digit of the extension (i.e. if there is a 3 digit extension, everything will get screwed up again.
3035557777
303555777744 <- extension 44
With the built-in formatting, it's easy enough to display the first number like:
(303) 555-7777
but the second number will get displayed like:
(30355) 577-7744
Is there a format string to say, put the first few numbers in the normal phone number, then dump all additional characters at the end?
I tried:
(###) ###-#### ##
Which sort of works, but I need a # symbol for each possible digit of the extension (i.e. if there is a 3 digit extension, everything will get screwed up again.