1. Web
  2. XML
  3. XPath
  4. Reference
  5. Functions
  6. concat

concat

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

Syntax

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.

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /