SAS Quality Knowledge Base for Contact Information 27
Phone (Global) | |||
---|---|---|---|
Description | The Phone (Global) parse definition parses phone numbers into a globally recognized set of tokens. | ||
Output Tokens | Country Code Area Code Base Number Extension Line Type Additional Info |
||
Input | Output Token | Output | |
Example 1 | Trabalho: +55 11 4501-5452 r1234 (Peça para Maria) | Country Code | +55 |
Area Code | 11 | ||
Base Number | 4501-5452 | ||
Extension | 1234 | ||
Line Type | Trabalho: | ||
Additional Info | (Peça para Maria) | ||
Input | Output Token | Output | |
Example 2 | Comercial: 0041 54 7368468934 ext. 33 (Número na Argentina) | Country Code | 0041 54 |
Area Code | |||
Base Number | 7368468934 | ||
Extension | 33 | ||
Line Type | Comercial: | ||
Additional Info | (Número na Argentina) | ||
Input | Output Token | Output | |
Example 3 | 31-32354200 | Country Code | |
Area Code | 31 | ||
Base Number | 32354200 | ||
Extension | |||
Line Type | |||
Additional Info | |||
Input | Output Token | Output | |
Example 4 | 023 11 98661-0495 -- Movel | Country Code | |
Area Code | 023 11 | ||
Base Number | 98661-0495 | ||
Extension | |||
Line Type | Movel | ||
Additional Info | |||
Input | Output Token | Output | |
Example 5 | RESIDENCIAL: 0054 99999999 | Country Code | 0054 |
Area Code | |||
Base Number | 99999999 | ||
Extension | |||
Line Type | RESIDENCIAL: | ||
Additional Info | |||
Input | Output Token | Output | |
Example 6 | 982990183 | Country Code | |
Area Code | |||
Base Number | 982990183 | ||
Extension | |||
Line Type | |||
Additional Info | |||
Remarks |
Carrier selection codes appearing in international numbers are parsed into the Country Code token, while carrier selection codes appearing in domestic numbers are parsed into the Area Code token, as seen in Examples 2 and 4 above. |
||
Parse definitions named with the Global keyword use a set of output tokens that is consistent across every locale. Results obtained from these definitions can be stored in the same database fields as the results obtained from definitions of the same name in other locales. |
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_PTBRA_Parse_Phone-Global.html |