Description
Given a state name or an abbreviation, this function returns the state code abbreviation for the given state.
Applicable Events
AnyApp Pre-Application, AnyApp Post-Algorithm, AnyApp Post-Application
Syntax
object.GetUSStateAbbreviation (strStateName)
Parameters
Object is a reference to the Application or Utility object. For more information, see Application Object (page Application Object) or Utility Object (page Utility Object).
GetUSStateAbbreviation is the command.
strStateName is the state name string.
Example
strAbbrev = Utility.GetUSStateAbbreviation("Nevada")