Handlebars Helper Function: concat

Combines multiple values into a single string.

Availability

This helper is available in the Winter ’26 release of Marketing Cloud Next.

Syntax

{{concat value1 value2 ...}}

Parameters

Parameter Type Description
value1 Any Required. The first value to concatenate.
value2 Any The second value to concatenate.
... Any Additional values to concatenate.

Return Value

The function returns a single string with all input values concatenated together. Each value is converted to a string representation before concatenation. Arrays are converted by concatenating their elements as strings. Null values are skipped during concatenation. The function throws an exception if no arguments are provided.