Working with Character Variables |
This section illustrates the flexibility that SAS provides for manipulating character values. In addition to the functions that are described in this section, the following character functions are also frequently used:
The INDEX and UPCASE functions are discussed in Acting on Selected Observations. Complete descriptions of all character functions appear in SAS Language Reference: Dictionary.
Detailed information about character variables is found SAS Language Reference: Concepts.
Additional information about aligning character variables is explained in the TEMPLATE procedure in SAS Output Delivery System: User's Guide, and in the REPORT procedure in Base SAS Procedures Guide.
How to compare uppercase and lowercase characters is shown in Acting on Selected Observations.
Information about the concatenation operator can be found in SAS Language Reference: Concepts.
Using the DATASETS procedure to display the length of variables in a SAS data set is explained in Getting Information about Your SAS Data Sets.
A detailed explanation of the IF-THEN statements can be found in Acting on Selected Observations.
Complete information about the SAS System's numerous informats and formats for reading and writing character variables is found in SAS Language Reference: Dictionary.
Detailed information about missing values is found in SAS Language Reference: Concepts.
The VLENGTH function is explained in detail in SAS Language Reference: Dictionary.
Copyright © 2012 by SAS Institute Inc., Cary, NC, USA. All rights reserved.