toLower

toLower(): String;

The toLower method of the String 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
    stringValue : String;
begin
    stringValue := "UPPERCASE TEXT CAN LOOK THREATENING";
    write stringValue.toLower;
    // Outputs uppercase text can look threatening
end;