SystemInsert (Delphi)
Description
This example uses the Insert function to edit a string.
Code
procedure TForm1.Button1Click(Sender: TObject);
var
S: string;
begin
S := 'Honest Lincoln';
Canvas.TextOut(10, 10, S);
Insert('Abe ', S, 8); { 'Honest Abe Lincoln' }
Canvas.TextOut(10, 40, S);
end;
Uses
- System.Insert ( fr | de | ja )