build Unicode Box
fun buildUnicodeBox( title: String = "", borderColumns: Int = 80, builder: StringBuilder.() -> Unit): String
Content copied to clipboard
Build a Unicode box whose contents are populated by the specified builder function. Only top and bottom borders are drawn.
Return
The Unicode box.
Parameters
title
The title of the box, if any. Defaults to "", i.e., untitled.
border Columns
The number of columns for the top and bottom borders.
builder
How to populate the box with text.