Syntax

Platform.Function.Concat(value1, value2 [, ...])
2+ arguments

Parameters

Name Type Required Description
value1 string Yes First string
value2 string Yes Second string
... string No Additional strings

Examples

var full = Platform.Function.Concat("Hello", ", ", "World", "!");
Write(full); // "Hello, World!"

// Equivalent to:
var full2 = "Hello" + ", " + "World" + "!";

In practice, the + operator is more commonly used for concatenation in SSJS. Concat is most useful for consistency when writing AMPscript-style code.