SAS Quality Knowledge Base for Contact Information 27
Phone (Validation) | ||
---|---|---|
Description |
The Phone (Validation) identification analysis definition determines whether a string represents a valid phone number. |
|
Possible Output | LANDLINE MOBILE NON-GEOGRAPHIC FOREIGN INVALID |
|
Examples | Input | Output |
01 22 33 44 55 | LANDLINE | |
+33 2 22 33 44 55 | LANDLINE | |
09 22 33 44 55 | LANDLINE | |
06 22 33 44 55 | MOBILE | |
+33 7 22 33 44 55 | MOBILE | |
08 22 33 44 55 | NON-GEOGRAPHIC | |
118 810 | NON-GEOGRAPHIC | |
0044 2012345000 | FOREIGN | |
22 33 44 55 | INVALID | |
01 22 33 44 5 | INVALID | |
Remarks | The area code, and 8 digits in the base number, must be present in order to be considered a valid domestic telephone number (with the exception of domestic short codes), as seen in the final two examples. |
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_FRFRA_ID_Phone-Validation.html |