Evolution API Reference: libebook, the Addressbook Library | ||||
---|---|---|---|---|
char* e_normalize_phone_number (const char *phone_number);
Normalizes phone_number
. Comma, period, parentheses, hyphen, space,
tab and forward-slash characters are stripped. The characters 'p',
'w' and 'x' are copied in uppercase. A plus only is valid at the
beginning, or after a number suppression prefix ("*31#", "31#"). All
other characters are copied verbatim.
phone_number : |
the phone number |
Returns : | A newly allocated string containing the normalized phone number. |