Converts all letters in an argument to uppercase
Category: Character
UPCASE ( argument )
argument
specifies any SAS character expression.
If the UPCASE function returns a value to a variable that has not yet been assigned a length, by default the variable length is determined by the length of the first argument.
The UPCASE function copies a character argument, converts all lowercase letters to uppercase letters, and returns the altered value as a result.
SAS Statements | Results |
---|---|
name=upcase('John B. Smith'); put name; | JOHN B. SMITH |
Functions:
'LOWCASE Function' on page 641
'PROPCASE Function' on page 737