SAS Quality Knowledge Base for Contact Information 27
| Phone | |||
|---|---|---|---|
| Description |
The Phone parse definition parses phone numbers into a set of tokens. |
||
| Output Tokens | Country Code Area Code Provider Number Base Number Extension Line Type Additional Info |
||
| Example 1 | Input | Output Token | Output |
| γραφείο: +30-210-61-46-510 Εσ. 208 (νύχτες και Σαββατοκύριακα) | Country Code | +30 | |
| Area Code | 21 | ||
| Provider Number | 0 | ||
| Base Number | 61-46-510 | ||
| Extension | 208 | ||
| Line Type | γραφείο: | ||
| Additional Info | (νύχτες και Σαββατοκύριακα) | ||
| Example 2 | Input | Output Token | Output |
| Κινητό: 694 5479895 | Country Code | ||
| Area Code | 69 | ||
| Provider Number | 4 | ||
| Base Number | 5479895 | ||
| Extension | |||
| Line Type | Κινητό: | ||
| Additional Info | |||
| Example 3 | Input | Output Token | Output |
| φαξ - 26630 63242 | Country Code | ||
| Area Code | 2663 | ||
| Provider Number | 0 | ||
| Base Number | 63242 | ||
| Extension | |||
| Line Type | φαξ | ||
| Additional Info | |||
| Example 4 | Input | Output Token | Output |
| 01 0 1234567 | Country Code | ||
| Area Code | 01 | ||
| Provider Number | 0 | ||
| Base Number | 1234567 | ||
| Extension | |||
| Line Type | |||
| Additional Info | |||
| Remarks | This definition also parses legacy Greek phone numbers, as in Example 4. |
||
|
Documentation Feedback: yourturn@sas.com |
Doc ID: QKBCI_ELGRC_Parse_Phone.html |