fpc/docs/sysutex/ex85.pp
1999-06-05 10:49:59 +00:00

18 lines
277 B
ObjectPascal

Program Example85;
{ This program demonstrates the TrimLeft function }
Uses sysutils;
{$H+}
Procedure Testit (S : String);
begin
Writeln ('"',TrimLeft(S),'"');
end;
Begin
Testit (' ha ha what gets lost ? ');
Testit (#10#13'haha ');
Testit (' ');
End.