Product Information > JADE Encyclopaedia of Primitive Types > Chapter 1 - Primitive Types > toUpper

toUpper

toUpper(): String;

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

The following example shows the use of the toUpper method.

vars
    stringValue : String;
begin
    stringValue := "lowercase";
    write stringValue.toUpper;   // Outputs LOWERCASE
end;