toLower

toLower(): StringUtf8;

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

The following example shows the use of the toLower method.

vars
    str8 : StringUtf8;
begin
    str8 := "UPPERCASE TEXT CAN LOOK THREATENING";
    write str8.toLower;
    // Outputs uppercase text can look threatening
end;