RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBMISC: stateToCode()


Convert state name to state code.

Usage:

stateToCode( stateName : {format} );

Name Type Options Opt/Req Description
stateName 50A Value Varying Req The state name to convert.
format 5A Const Opt Specifies the format of the return string: 'upper' for all upper case; 'lower' for all lower case; 'mixed' for mixed case. 'upper' is the default if not sent.
Returns: 2A n/a n/a The state code of the state name.

This site conforms with the following W3C specifications:

Web Essentials

Contact