e-book-util

e-book-util

Synopsis

char*               e_normalize_phone_number            (const char *phone_number);

Description

Details

e_normalize_phone_number ()

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.