…pokračování
Ale pozor na zradu! Kdybychom zapsali
Edit1.Text := PomocnyString + ‘ je nadpis’;
tak by se ten konec vůbec nezobrazil!
Důvodem je, že Windows nenastavují délku stringu tak, jako to potřebují Delphi. Proto musíme použít S1:=String(PChar(S1)) nebo SetLength(S1, StrLen(PChar(S1)))