Purpose |
Return an all-uppercase (capitalized) version of
a
|
Syntax |
s$ = UCASE$(string_expression [,ANSI | OEM]) |
Remarks |
UCASE$ returns a string equivalent to string_expression, except that all the lowercase alphabetic characters in string_expression are converted to uppercase. The optional ANSI or OEM parameter specifies whether string_expression is converted to uppercase using the ANSI or OEM charset. If no charset option is selected, then the Console’s current OEM charset is used to convert string_expression to lowercase. The PowerBASIC Compiler for Windows defaults to using the systems ANSI charset to convert string_expression. Only "International" characters in the range CHR$(128) to CHR$(255) are affected by the charset parameter. |
See also |
|
Example |
x$ = UCASE$("Beware of cats!") |
Result |
BEWARE OF CATS! |