GetUSStateAbbreviation (Method) - OCR for AnyDoc - Foundation 23.1 - Foundation 23.1 - AnyDoc - external

OCR for AnyDoc Programming Reference Guide

Platform
AnyDoc
Product
OCR for AnyDoc
Release
Foundation 23.1
License

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")