docs: function strip_country_phone_code(formatted_number, metadata)
  {
  	if (!formatted_number || formatted_number[0] !== '+' || formatted_number === '+')
  	{
  		return formatted_number
  	}
  
  	for (const country_phone_code of Object.keys(metadata.country_phone_code_to_countries))
  	{
  		if (formatted_number.indexOf(country_phone_code) === '+'.length)
  		{
  			return formatted_number.slice('+'.length + country_phone_code.length).trim()
  		}
  	}
  
  	return formatted_number
  }