SAS Quality Knowledge Base for Contact Information 27
| Phone | |||
|---|---|---|---|
| Description |
The Phone parse definition parses phone numbers into a set of tokens. |
||
| Output Tokens | Prefix Country Code Area Code Base Number Extension Line Type Additional Info |
||
| Example 1 | Input | Output Token | Output |
| 52 5521234567 | Prefix | ||
| Country Code | 52 | ||
| Area Code | 55 | ||
| Base Number | 21234567 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 2 | Input | Output Token | Output |
| 044 5521234567 | Prefix | 044 | |
| Country Code | |||
| Area Code | 55 | ||
| Base Number | 21234567 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Example 3 | Input | Output Token | Output |
| Oficina: 55 2123 4567 ext 156 | Prefix | ||
| Country Code | |||
| Area Code | 55 | ||
| Base Number | 2123 4567 | ||
| Extension | 156 | ||
| Line Type | Oficina: | ||
| Additional Info | |||
| Example 4 | Input | Output Token | Output |
| Movil: 55 2123 4567 (noches) | Prefix | ||
| Country Code | |||
| Area Code | 55 | ||
| Base Number | 2123 4567 | ||
| Extension | |||
| Line Type | Movil: | ||
| Additional Info | (noches) | ||
| Remarks | The Prefix token will contain the domestic long-distance dialing code (01), the domestic cellular dialing codes (044 and 045), and their accepted variants. | ||
|
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_ESMEX_Parse_Phone.html |