Share via


concat Function 

Returns the concatenation of the arguments.

string concat(string, string, string*)

Remarks

If an argument is not of type string, it is first converted to a string using the string() function and then the result of that conversion is evaluated.

Warning

String conversions for node sets that are passed as arguments to this function may yield unexpected results. For more information, see string Function.

This function is case-sensitive.

Example

The following function call returns "abcdefg".

concat("abc", "d", "ef", "g")

The following function call returns "abc3efg".

concat("abc", 3, "ef", "g")

See Also

Reference

XML Data Types Reference