Initializing help system before first use

toupper

toupper


Purpose
Generate the uppercase version of the provided text.
Synopsis
function toupper(t:text|string):text
function toupper(c:integer):integer
Arguments
Text to convert
Character code
Return value
The uppercase version of the input string or a character code.
Further information
When this function is used with a text string, it returns a copy of its argument converted to uppercase. When it is called with an integer, the returned value corresponds to the character code of the uppercase version of the provided code. In both cases, the function will return an unmodified copy of its argument if no conversion can be done.
Related topics
Module