decorative banner

Previous | Next               Table Of Contents > 2 Working with string and numeric variables > 2.4 Converting strings to uppercase or lowercase

2.4 Converting strings to uppercase or lowercase


The strupper and strlower commands are used to string variables into upper or lower case.

The syntax is

strupper <variable>;

strlower <variable>;

Some examples are

setvar ~my_var, "NaMe.Txt";

strupper ~my_var; #convert to uppercase

strlower ~my_var; # convert to lowercase


Previous | Next