Loading TOC...

fn:concat

fn:concat(
   $parameter1 as xs:anyAtomicType?,
   [$parameterN as xs:anyAtomicType?,...]
) as xs:string

Summary

Returns the xs:string that is the concatenation of the values of the specified parameters. Accepts two or more xs:anyAtomicType arguments and casts them to xs:string. If any of the parameters is the empty sequence, the parameter is treated as the zero-length string.

Parameters
parameter1 A value.
parameterN A value.

Example

fn:concat("a", "b", "c")

=> abc

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.