Spain
countryName
Variations
officialStateName
The Kingdom of Spain
twoLetterCode
ES
threeLetterCode
ESP
numericCode
724
ccTLD
.es
Transformations1
Convert Country name to official state name
Spain → The Kingdom of Spain
getItemVariation('Spain', VariationKey.OFFICIAL_STATE_NAME)
Convert Country official state name to country name
The Kingdom of Spain → Spain
getItemVariation('The Kingdom of Spain', VariationKey.COUNTRY_NAME)
Convert Country official state name to two-letter code
The Kingdom of Spain → ES
getItemVariation('The Kingdom of Spain', VariationKey.TWO_LETTER_CODE)
Convert Country official state name to three-letter code
The Kingdom of Spain → ESP
getItemVariation('The Kingdom of Spain', VariationKey.THREE_LETTER_CODE)
by Ryan Hefner