[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

LowerCase

Return a lowercase version of a string.

Declaration

Source position: line 0

function LowerCase(

  const s: String

):String; overload;

function LowerCase(

  const V: variant

):String; 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 compatiibility only.

Errors

None.

See also

AnsiLowerCase

  

Return a lowercase version of a string.

UpperCase

  

Return an uppercase version of a string.

AnsiUpperCase

  

Return an uppercase version of a string, taking into account special characters.

Example

Program Example77;

{ This program demonstrates the LowerCase function }

Uses sysutils;

Begin
  Writeln (LowerCase('THIS WILL COME out all LoWeRcAsE !'));
End.
The latest version of this document can be found at lazarus-ccr.sourceforge.net.