Chapter Contents |
Previous |
Next |
FIPSTATE |
Category: | State and ZIP Code |
Syntax | |
Arguments | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
|
Details |
The FIPSTATE function converts a U.S. Federal Information Processing Standards (FIPS) code to a two-character state postal code (or world-wide GSA geographic code for U.S. territories) in uppercase.
Comparisons |
Examples |
The examples show the differences when using FIPNAME, FIPNAMEL, and FIPSTATE.
SAS Statements | Results |
---|---|
x=fipname(37); put x; |
NORTH CAROLINA |
x=fipnamel(37); put x; |
North Carolina |
x=fipstate(37); put x; |
NC |
See Also |
Functions:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.