Skip to main content

Concatenating Strings

AMPS provides the CONCAT function, that can be used for constructing strings.

CONCAT

CONCAT


CONCAT(string1, [string2, ...])

Takes any number of parameters and returns a string constructed from those parameters. The function can accept both XPath identifiers and literal values.

Parameters

  • string1: The first string.
  • string2: Optional. Additional strings to concatenate.

Returns

A single string that is the concatenation of all the parameters.