next up previous contents index
Next: StrMove Up: Functions and procedures. Previous: StrLIComp

StrLower

   

Declaration:

Function StrLower (P : PChar) : PChar;

Description:

Converts P to an all-lowercase string. Returns P.

Errors:

None.

See also:

Upcase (), StrUpper

Example
Program Example14;

Uses strings;

{ Program to demonstrate the StrLower and StrUpper functions. }

Const 
    P1 : PChar = 'THIS IS AN UPPERCASE PCHAR STRING';
    P2 : PChar = 'this is a lowercase string';

begin
  Writeln ('Uppercase : ',StrUpper(P2));
  StrLower (P1);
  Writeln ('Lowercase : ',P1);
end.



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998