Sign in Join
FPDoc Onlineexperiment

UpperCase function

In unit sysutils

Return an uppercase version of a string.

Declaration

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

Description

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

Errors

None.

See also

Example: ex87

pascal
Program Example87;

{ This program demonstrates the UpperCase function }

Uses sysutils;

Begin
  Writeln (UpperCase('this will come OUT ALL uPpErCaSe !'));
End.

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