phoneFormat

text phoneFormat(phone, standard, country)

Returns the phone number formatted according to standard in country.

Supported standards:

Parameters

  1. phone — phone number (text) to format.
  2. standard — optional formatting standard, default is phone number country or carrier specific.
  3. country — optional two-letter country code, used when phone number lacks a country code.

Returns