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

15 lines
233 B
ObjectPascal

Program Example5;
Uses strings;
{ Program to demonstrate the StrLCopy function. }
Const P : PCHar = '123456789ABCDEF';
var PP : PCHar;
begin
PP:=StrAlloc(11);
Writeln ('First 10 characters of P : ',StrLCopy (PP,P,10));
end.