New York
fullName
Variations
postalCode
NY
apStyle
N.Y.
gpoStyle
N.Y.
Transformations1
Convert U.S. State full name to two-letter postal code
New York → NY
getItemVariation('New York', VariationKey.POSTAL_CODE)
Convert U.S. State two-letter postal code to full name
NY → New York
getItemVariation('NY', VariationKey.FULL_NAME)
Convert U.S. State two-letter postal code to AP Style format
NY → N.Y.
getItemVariation('NY', VariationKey.AP_STYLE)
Convert U.S. State two-letter postal code to GPO Style format
NY → N.Y.
getItemVariation('NY', VariationKey.GPO_STYLE)
by Ryan Hefner