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 Main;

Var

s, s1, s2: string;

Begin

s1 := "abc";

s2 := "def";

s := String.Concat(s1, s2);

End Sub Main;

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

See also:

String