Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/xpath/functions/concat/index.md
6548 views
---
title: concat slug: Web/XPath/Functions/concat
---

{{ 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

Gecko support

Supported.