contents.gifindex.gifprev1.gifnext1.gif

pueblo00000000.gif TinTin #toupper command

This command allows you to convert a string to its upper case equivalent and then assign that string to a variable. For more information on variables, see the #variable command.

Command syntax

#toupper {var} {string}

This format will set the value of the variable $var to string, after converting string to upper case. Any previous value of $var is lost.

Example

The following code:

#toupper temp {I don’t mean to shout, but…}

say $temp

Will result in you saying:

I DON’T MEAN TO SHOUT, BUT…

Also see

TinTin wildcards

#tolower

#variable

#unvariable