![]() Chapter Contents |
![]() Previous |
![]() Next |
| STNAMEL |
| Category: | State and ZIP Code |
| Syntax | |
| Arguments | |
| Details | |
| Comparisons | |
| Examples | |
| See Also |
Syntax |
|
| Details |
The STNAMEL function converts a two-character state postal code (or world-wide GSA geographic code for U.S. territories) to the corresponding state name in mixed case. Returned values can contain up to 20 characters.
| Comparisons |
| Examples |
The examples show the differences when using STFIPS, STNAME, and STNAMEL.
| SAS Statements | Results |
|---|---|
fips=stfips ('NC');
put fips;
|
37 |
state=stname('NC');
put state;
|
NORTH CAROLINA |
state=stnamel('NC');
put state;
|
North Carolina |
| See Also |
| Functions:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.