fn:concat

Returns the concatenation of the values of its arguments.

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:


Syntax

fn:concat() => string
fn:concat(string? $string1) => string
fn:concat(string? $string1, string? $string2, ...) => string

Description

This function concatenates the values of its arguments. It accepts zero or more xs:strings as arguments. In case of no arguments, the empty string is returned.

Arguments

$string1, $string2, ...

string value

Examples

  • concat("a","b")

    This returns "ab".