CHANGE_CASE
Changes the case of all alphabetic characters in a buffer, range, or
string, according to the keyword that you specify.
Syntax
CHANGE_CASE ({buffer | range | string}, {LOWER | UPPER | INVERT}
Parameters
buffer The buffer in which the case will be changed.
range The range in which the case will be changed.
string The string in which the case will be changed. CHANGE_CASE
has no effect on string constants.
LOWER To change letters to all lowercase.
UPPER To change letters to all uppercase.
INVERT To change uppercase letters lowercase, and lowercase letters
to uppercase.
Example
CHANGE_CASE (main_buffer, UPPER);
Makes all characters in the main buffer uppercase. If you enter this
on the command line and if the buffer is associated with a visible
window, you will see the changes take effect immediately.