Standard SetsStandard Sets
Sets → Countries →

Samoa

Samoa

countryName

Variations

officialStateName

The Independent State of Samoa

twoLetterCode

WS

threeLetterCode

WSM

numericCode

882

ccTLD

.ws

Transformations1

Convert Country name to official state name

Samoa → The Independent State of Samoa

getItemVariation('Samoa', VariationKey.OFFICIAL_STATE_NAME)

Convert Country official state name to country name

The Independent State of Samoa → Samoa

getItemVariation('The Independent State of Samoa', VariationKey.COUNTRY_NAME)

Convert Country official state name to two-letter code

The Independent State of Samoa → WS

getItemVariation('The Independent State of Samoa', VariationKey.TWO_LETTER_CODE)

Convert Country official state name to three-letter code

The Independent State of Samoa → WSM

getItemVariation('The Independent State of Samoa', VariationKey.THREE_LETTER_CODE)

by Ryan Hefner