Skip to main content
Version: 21 R3

Uppercase

Uppercase ( aString : Text {; *} ) : Text

ParameterTypeDescription
aStringText→String to convert to uppercase
*Operator→If passed: keep accents
Function resultText←String in uppercase
History
ReleaseChanges
11 SQLModified
<6Created

Description​

Uppercase takes aString and returns the string with all alphabetic characters in uppercase.

The optional * parameter, if passed, indicates that any accented characters present in aString must be returned as accented uppercase characters. By default, when this parameter is omitted, accented characters “lose” their accents after the conversion is carried out.

Example 1​

This example compares the results obtained according to whether or not the * parameter has been passed:

 $thestring:=Uppercase("hélène") // $thestring is "HELENE"
 $thestring:=Uppercase("hélène";*) // $thestring is "HÉLÈNE"

Example 2​

See the example for Lowercase.

See also​

Lowercase

Properties​

Command number13
Thread safeyes