PhoneFormat ( number )
No-fuss formatting of a phone number of varying length
Be the first to rate this function Log in to vote
Sam Barnum - Show more from this author
360Works http://360works.com |
4155551234
5551234
1234
(415) 555-1234
555-1234
1234
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
Filters out any non-numeric digits, then formats according to the length of the number, recursing smaller chunks back to itself.
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.