! ~ ` - Change Case
Changes the case of a character, word or line, either from lower case to upper case or from upper case to lower case.
Commands
! (Hex 21) Change Case - Line
~ (Hex 7E) Change Case - Word
` (Hex 60) Change Case - Character
Change Line
Pressing ! changes the case of all alphabetic characters in the current line. All upper case characters are changed to lower case and all lower case characters are changed to upper case.
Change Word
Pressing ~ changes the case of all alphabetic characters in the single word at the cursor position. All upper case characters are changed to lower case and all lower case characters are changed to upper case.
Change Character
Pressing ` changes the case of a single alphabetic character at the cursor position either from upper case to lower case or from lower case to upper case.
Note
The ` key is the grave accent character (Hex 60) and not the apostrophe or single quote character (Hex 27). It is located on the same key (lower case) as the tilde (~) on most terminals.
Action
The Change Case commands act as a toggle. As you press the key, characters are toggled from upper to lower and from lower to upper case.
The Change Case commands have no effect upon non alphabetic characters.
Example
(Underline denotes cursor position.)
0031 A LINE OF TEXT.
Press `. The character at the cursor position is toggled and the current line now reads:
0031 a LINE OF TEXT.
Press !. The entire line is toggled and now reads:
0031 A line of text.