string-join($arg as xs:string*, $separator as xs:string) xs:string
Returns a xs:string created by concatenating the members of the $arg sequence using $separator as a separator. If the value of the separator is the zero-length string, then the members of the sequence are concatenated without a separator.
$arg
The sequence to be joined to form the string
$separator
The separator to be placed in the string between the items of $arg