StateNameToStateCode function
String / Filename routines
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function StateNameToStateCode(const StateName: String): String;  

Description
Function returns the the 2-letter state code by state name (for USA states only).  
 
For example, result of call StateNameToStateCode('Maryland') will be MD.  

See also
StateCodeToStateName function.