Concat

Concatenates strings of text. You can include as many values as necessary.

Availability 

Marketing Cloud Engagement ✅ Yes
Marketing Cloud Next ✅ Yes

This function became available in Marketing Cloud Next during the Summer ’26 release (API version 67.0).

Syntax 

1Concat(string1,
2       string2,
3       [string3], ...)

The Concat() function has two parameters:

  • string1 (string): Required. A string of text.
  • string2 (string): Required. A string of text to add to the end of string1.

You can concatenate as many values as you want adding additional values to the end of the list of parameters.

Usage 

To use this function, pass it at least two strings. The strings are appended to each other in order. This function concatenates a first, middle, and last name to form a full name. To include spaces between strings, you must explicitly include space characters in the function.

1%%[
2  Var @firstName, @middleName, @lastName, @fullName
3  Set @firstName = "Kjell"
4  Set @middleName = "Jakob"
5  Set @lastName = "Larssen"
6  Set @fullName = Concat(@firstName, " ", @middleName, " ", @lastName)
7]%%
8<p>Full name: %%=v(@fullName)=%%</p>

The function outputs the full name.

1Full name: Kjell Jakob Larssen