RE: [PHP] Formatting phone numbers?

From: Date: Fri, 16 Apr 2004 18:14:14 +0000
Subject: RE: [PHP] Formatting phone numbers?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183664@lists.php.net to get a copy of this message
Good stuff. > [stuff you may not need] > This is a boiled down version of a longer function that counts string > lengths to determine how many dashes might need to be added. Let's say > you have the area code in the number, like 2108765432. Being a ten digit > number with a recognizable area code we can then add a portion to the > function to add the two needed dashes, making the number more readable. > [/stuff] I'd love to see that larger function, if you care to share. Andy

« previous php.general (#183664) next »