fpc/docs/stringex/ex14.pp
1998-03-25 11:26:49 +00:00

16 lines
309 B
ObjectPascal

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.