summaryrefslogtreecommitdiff
path: root/fpcdocs/stringex/ex14.pp
blob: d94b62f4c5a4374c519604129ba2c71aae4f0bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.