Archived
1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
pascal/BASICTST.PAS
2001-11-30 12:14:44 +01:00

13 lines
307 B
Plaintext

program TestBasicStrings;
uses BasicStrings, Crt;
var Txt: string;
begin
Txt := 'Dies ist ein Test-String';
WriteLn('Urstring: '+Txt);
WriteLn('8 Linke Zeichen: '+Left(Txt, 8));
WriteLn('7 Zeichen ab 6. Position: '+Mid(Txt, 6, 7));
WriteLn('6 Rechte Zeichen: '+Right(Txt , 6));
end.