Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

LowerCase

Return a lowercase version of a string.

Declaration

Source position: sysstrh.inc line 75

function LowerCase(

  const s: ansistring

):ansistring; overload;

function LowerCase(

  const s: ansistring;

  LocaleOptions: TLocaleOptions

):ansistring; overload;

function LowerCase(

  const V: variant

):string; overload;

function LowerCase(

  const s: UnicodeString

):UnicodeString; 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

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.

Documentation generated on: Dec 21 2024