Back to Content

concat

files/en-us/web/xml/xpath/reference/functions/concat/index.md

latest501 B
Original Source

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

Syntax

plain
concat( string1, string2 [,stringN]* )

Parameters

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

Return value

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

Specifications

XPath 1.0 4.2

Gecko support

Supported.