Name

concat — Returns the concatenation of its arguments.

Synopsis

string concat ( strg1 string ,
strg2 string ,
... ,
strgN string );

Description

The function converts all its arguments into strings using the same rules as XPATH function string(), then it performs concatenation and returns the resulting string.

XPATH 1.0 standard states that concat() function must have at least 2 arguments, but in Virtuoso XPATH this restriction is eliminated. concat() may be called without arguments (it will return an empty string) or with one argument (it will work like string() function). This may be useful if the text of XPATH expression must be generated by an application.

Parameters

strgI

String or a value of any type which may be converted into a string.

Return Types

Examples

Example24.571.

concat('Order ', @orderno, ' dated ', @issuedate)

See Also

string()