--- title: "Concat" slug: "concat" updated: 2024-05-04T19:20:03Z published: 2024-05-04T19:20:03Z canonical: "help.mail-and-deploy.com/concat" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.mail-and-deploy.com/llms.txt > Use this file to discover all available pages before exploring further. # Concat ### General The *Concat* function can be used to concatenate a series of values using a separator. > **Example:** You can use the Concat function to concatenate all values of a [Datasource](/release34/docs/introduction-to-datasources) field with a separator such as a colon. Syntax The syntax of the *Concat* function is: Concat Function Syntax Concat(, ) ### Examples The following [Expression](/release34/docs/introduction-to-mail-and-deploy-expressions) returns a [String](/release34/docs/string) that contains all values of the field *SalesRepName* of a [Datasource](/release34/docs/introduction-to-datasources) named *Consumer Sales* separated by a comma and a whitespace: Concat Function Example Concat(", ", [Datasource].[Consumer Sales].[Field].[SalesRepName]) The following example does the same but puts every value into a line of its own: Concat Function Example Concat(NewLine(), [Datasource].[Consumer Sales].[Field].[SalesRepName])