Command Reference : String and Date Function Reference
  
 
@upper
Uppercase string.
Syntax: @upper(str)
str: string
Return: string
Returns the upper representation of the string str.
Examples
If we define the string object
string s1 = "I did NOT do it"
the commands
@upper("I did NOT do it")
@upper(s1)
return the string “I DID NOT DO IT”.
If ALPHA1 is an alpha series,
alpha alphalwr = @upper(alpha1)
returns the upper of the strings in ALPHA1 for each observation in the workfile sample.
If SVEC1 is an string vector,
svector sveclen = @upper(svec1)
returns a string vector containing the uppercased elements of SVEC1.
Cross-references
See also @lower.