toUpper

toUpper(): StringUtf8;

The toUpper method of the StringUtf8 primitive type returns a copy of the receiving string with all lowercase characters converted to uppercase, according to the conventions of the current locale.

If you do not define the EnhancedLocaleSupport parameter in the [JadeEnvironment] section of the JADE initialization file on the database node or you set it to false, inconsistent results could be returned to the application server when running in JADE thin client mode and there are locale overrides, as all overrides on the application server are suppressed if enhanced locale support is not enabled. Formatting of locale data is done on the application server, based on the locale of the corresponding presentation client.

The following example shows the use of the toUpper method.

vars
    str8 : StringUtf8;
begin
    str8 := "lowercase";
    write str8.toUpper;   // Outputs LOWERCASE
end;