Returns a string with the content of the object StringBuffer.

1 stringBuffer.toString

<stringBuffer.toString>
    <value /> +
</stringBuffer.toString>
Example

Creates a dynamic SQL sentence.

Copy
<xsql-script name='stringbuffer_append_sample'>
    <body>
        <set name='code'>ABC</set>
        <stringBuffer name='buf'>SELECT *</stringBuffer>

        <stringBuffer.append name='buf'> FROM cthird</stringBuffer.append>
        <stringBuffer.append name='buf'> WHERE cthird.code = <code /></stringBuffer.append>

        <println><stringBuffer.toString name='buf'/></println>
    </body>
</xsql-script>