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.

Document Tags and Contributors

Last updated by: mdnwebdocs-bot,