The string-join() function returns a string constructed by concatenating all the strings in a supplied sequence, with an optional separator between adjacent strings. For example, «string-join(("a", "b", "c"), "") » returns the string "abc" .
Argument | Data Type | Meaning |
---|---|---|
sequence | xs:string* | The supplied sequence of strings |
separator | xs:string | The separator to be used between adjacent strings. If no separator is required, supply a zero-length string for this argument |
Result | xs:string | The result of concatenating the supplied strings and inserting separators |