format

fun format(tableWidth: Int, lineSeparatorSymbol: Char = '_', thickLineSeparatorSymbol: Char = '='): List<String>

Format section to a list of strings, properly aligned with other sections.

Parameters

tableWidth

required width of the section to be aligned with other sections of the table

lineSeparatorSymbol

symbol to use for line separator

thickLineSeparatorSymbol

symbol to use for thick line separator