Function format_number

Source
pub fn format_number(
    str: &str,
    country_code: &str,
    format: &NumberFormat,
) -> String
Expand description

Format a phone number according to the specified format

ยงArguments

  • str - Input phone number
  • country_code - Country code as string
  • format - Desired output format