concat

XSLT/XPath Reference: XSLT elements, EXSLT functions, XPath functions, XPath axes

The concat function concatenates two or more strings and returns the resulting string.

Syntax

concat(string1 ,string2 [,stringn]* )

Arguments

stringn

This function accepts two or more arguments. Each of these arguments is a string.

Returns

A single string that is the concatenation of all the strings passed to the function as arguments.

Defined

XPath 1.0 4.2

Gecko support

Supported.

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/concat