Returns a string of characters with the values of the array elements separated by the indicated separator.

1 array.join

<array.join separator='separator'>
    <array /> !
</array.join>
Example

Print a string of SQL Where to search the array elements.

Copy
<xsql-script name='array_join_test'>
    <body>
        <array name='m_serialid'>
            <string>10</string>
            <string>40</string>
            <string>68</string>
        </array>

        <println><string>tabanme.colname IN (<array.join separator=','><m_serialid /></array.join>)</string></println>
    </body>
</xsql-script>