MascTelMex ( tel# )
Rate this function: Average rating: 3.6 (11 votes) Discuss this Custom Function
PedroAlexanderson, Pedro Alexanderson
http://www.aav-mx.com
Insertas los números telefonicos 8 o 10 cifras y te los enmascara
Sample Input:
masctel(30020682)
masctel(5530020682)
masctel(4241234567) |
|
Sample Output:
(55)3002-0682
(55)3002-0682
(01)424-123-4567 |
|
Description:
En la República Mexicana hay solamente 3 areas con prefijo de 2 cifras, DF, Monterrey y Guadalajara, los demas estados y municipios son 3... esta mascara te devuelve las cifras enmascarilladas de esas 3 zonas con prefijos de 2 cifras y los demas con prefijo de 3 cifras
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
This is my Custom Function and I want to
edit it
Discuss:There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:
|
Newest Custom Functions:
| 1. |
CountWordOccurrences ( text ; searchWord ) |
| |
(Tue, Feb 07, 11:15am) |
| 2. |
indonesian_date(date) |
| |
(Mon, Feb 06, 7:14pm) |
| 3. |
phpArrayValue ( array ; key ; pos ) |
| |
(Fri, Jan 27, 1:49pm) |
| 4. |
solfm_timeToMinutes (theTime;roundSec) |
| |
(Fri, Jan 20, 6:26am) |
| 5. |
filterLines(filterField;filterValue;Result) |
| |
(Sat, Jan 14, 2:20pm) |
| 6. |
getMaxValue ( theList ) |
| |
(Thu, Jan 12, 1:06pm) |
| 7. |
MiddleWordsIncPunct ( text ; startingWord ; numberOfWords ) |
| |
(Sat, Jan 07, 9:16am) |
| 8. |
WindowInfo |
| |
(Fri, Jan 06, 12:39pm) |
 |
|