base.StringBuffer.toString

Create a STRING from the string buffer.

Syntax

toString()
  RETURNING result STRING

Usage

The toString() method creates a STRING value from the current string buffer.

Use this method if you need to pass the string to another method or instruction that expects a STRING as parameter.

CALL buf.append("abc")
DISPLAY buf.toString() -- Shows abc