Concat function
Append one string or dynamic array to another.
Declaration
function Concat(const S1: string; const S2: string; const S3: string;
const Sn: string): stringDescription
Concat concatenates the strings
S1,
S2 etc. to one long
string. The same operation can be performed with the
+ operation.
Concat can also be used to concatenate 2 dynamic arrays of any type,
resulting in a new dynamic array containing all the elements of the dynamic
arrays used in the call.
Errors
None.
See also
Example: ex10
Program Example10;
{ Program to demonstrate the Concat function. }
Var
S : String;
begin
S:=Concat('This can be done',' Easier ','with the + operator !');
end.An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
