XML Script logo
Function join
Name

join

Returns

string

Parameter count

2

Parameter 1

element, a pointer(s)

Parameter 2

delimiter, a string

Description

This function takes the content of each element, 'element', in turn and returns a string consisting of the concatination of all the individual contents, each separated from the next by 'deliminter'. e.g.
<foo value="1" /><foo value="2" /><foo value="3" /><foo value="4" />
# join($foo.value,"-") # returns 1-2-3-4

Examples of use

                                
                        

XML Script homepage | Documentation home | XML Script docs | Command list | Function list | X-Tract docs

X-Stream, X-Tract and XML Script are trade marks of DecisionSoft Limited
© Copyright 1998-2000 DecisionSoft Limited