Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Two old functions, UPCASE and LOWCASE, change the case of characters. As of SAS®9, a new function, PROPCASE (proper case), capitalizes the first letter of each word.
| Function: | UPCASE |
|---|---|
| Purpose: | To change all letters to uppercase. |
| Note: The corresponding function LOWCASE changes uppercase to lowercase. | |
| Syntax: | UPCASE (character-value) |
| character-value is any SAS character value. | |
| If a length has not been previously assigned, the length of the resulting variable will be the length of the argument. |