String.Concat

Syntax

Concat(Val1: String; Val2: String): String;

Parameters

Val1. The first substring for concatenation.

Val2. The second substring for concatenation.

Description

The Concat method concatenates two substrings passed as the Val1 and Val2 input parameters into one string.

Example

Sub UserProc;
Var
    s, s1, s2: string;
Begin
    s1 := "abc";
    s2 := "def";
    s := String.Concat(s1, s2);
End Sub UserProc;

After executing the example the "s" variable contains the abcdef value.

See also:

String