toUpper

toUpper(): Character;

The toUpper method of the Character primitive type returns the uppercase equivalent of the receiving character. Any character that is not a lowercase character is left unchanged.

The following example shows the use of the toUpper method.

vars
    charValue : Character;
begin
    charValue := "r";
    write charValue.toUpper;   // Outputs R
end;