Sign in Join
FPDoc Onlineexperiment

LowerCase function

In unit sysutils

Return a lowercase version of a string.

Declaration

pascal
function LowerCase(const s: ansistring): ansistring; overload

Description

LowerCase returns the lowercase equivalent of S. Ansi characters are not taken into account, only ASCII codes below 127 are converted. It is completely equivalent to the lowercase function of the system unit, and is provided for compatibility only.

Lowercase does not change the number of characters (or bytes) in an ansistring or shortstring.

Errors

None.

See also

Example: ex77

pascal
Program Example77;

{ This program demonstrates the LowerCase function }

Uses sysutils;

Begin
  Writeln (LowerCase('THIS WILL COME out all LoWeRcAsE !'));
End.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.