
07-09-2007
|
| Administrator
Join Date: Jun 2007
Posts: 3,729
BRL$: 34,855.90 Thanks: 0
Thanked 7 Times in 7 Posts
Rep Power: 405 | | PhoneFormatter.cfc 1.0 in ColdFusion I typically store phone numbers in one field (instead of using a separate field for each part of a phone number). While this usually works quite well, I have discovered that it can cause issues when I want a phone number to display in the same format regardless of how it was originally entered. This is relatively easy to do if you handle it as the data comes in, but if you don't (either as oversight or because the data comes from outside the system) then it is a more difficult task. I created PhoneFormatter to handle this task. Actually, it can handle formatting the data on an individual string or on a field across a whole table. To view links or images in this forum your post count must be 1 or greater. You currently have 0 posts. | |
__________________ █ High Quality To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ Powerful To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
█ To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.
To receive latest updates about BRL Forums, Subscribe to Latest Updates Thread.
| | | |