take in a phone number string and format the output to the corresponding format.


FORMAT_PHONE(phone_number_string, format_string) -> formatted_phone_number
FORMAT_PHONE(phone_number_string, format_string, region) -> formatted_phone_number


phone_number_string (type: string)
Phone number in string format.
format_string (type: string)
String representing the output format (any of "E164", "INTERNATIONAL", "NATIONAL", "RFC3966").
region (type: string)
String representing the 2 digit country code.

Return Values

formatted_phone_number (type: string)
String with the formatted phone number.

Was this article helpful?

0 out of 0 found this helpful

Add comment

Please sign in to leave a comment.