Returns a country code given the specified country. Supports “Alpha 2” (two digit), “Alpha 3” (three digit) and “UN Code” (numeric) code types.
“United States” (Alpha 2 or blank) = “US”
“United States” (Alpha 3) = “USA”
“United States” (UN Code) = “840”
Utilities
Status: Released
Tier: Starter
Since: 1.4
Overview
Returns a country code given the specified country. Supports “Alpha 2” (two digit), “Alpha 3” (three digit) and “UN Code” (numeric) code types.
“United States” (Alpha 2 or blank) = “US”
“United States” (Alpha 3) = “USA”
“United States” (UN Code) = “840”