Name

Concat Function

Syntax

function Concat(const S1, S2, ....: string): string;

Description

The Concat function concatenates all the strings given as arguments into a single string. It is the same as using the `+' operator: S1 + S2 + .... The Concat function is built into the compiler and is not a real function.

There is no performance difference between using the + operator and calling Concat.

See Also

Copy Function, Delete Function, Insert Procedure, SetLength Procedure, SetString Procedure

Get Delphi in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.