Returns a string with the content of the object StringBuffer.
1 stringBuffer.toString
<stringBuffer.toString>
<value /> +
</stringBuffer.toString>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evalue | String | Variable of entry of the SQL Object. |
Returns | |
---|---|
Type | Description |
String | Content of the object stringBuffer. |
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>