statename(
STATE
)

The statename( function converts a two letter abbreviation for a US state into the full state name.


Parameters

This function has one parameter:

state – The two letter abbreviation for the state name.


Description

This function converts a two letter abbreviation for a US state into the full state name.

statename("CA") ☞ California
statename("CO") ☞ Colorado
statename("AB") ☞ 

This function is identical to the statelookup( function, except for the fact that if the state does not exist, the statelookup( function returns the original string instead of "".

Note: This function is equivalent to:

upperword(arraylookup(stateAbbreviations(),upper(thestate),";",":",""))

See Also


History

VersionStatusNotes
10.0NewNew in this version.