toString

open fun toString(elements: Array<Any>): String

Create a new ANSI string from the specified elements. Any AnsiElements will be encoded as required.

Return

a string of the encoded elements

Parameters

elements

the elements to encode