SystemConcat (Delphi)

From RAD Studio Code Examples
Jump to: navigation, search

Description

This example requires a button and three text fields. Select the button to concatenate the two texts into the third.

Code

procedure TForm1.Button1Click(Sender: TObject);
var
  S: string;
begin
  Edit3.Text := Concat(Edit1.Text, Edit2.Text);     { 'ABCDEF' }
end;

Uses