---
title: concat
slug: Web/XPath/Functions/concat
tags:
  - XSLT
  - XSLT_Reference
---
{{ XsltRef() }}

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](https://www.w3.org/TR/xpath#function-concat)

### Gecko support

Supported.
