formatLine

fun formatLine(columnSeparator: String, columnsWidths: List<Int>, strs: List<String>): String

Format list of strings to a single line with appropriate paddings for each column.

Parameters

columnSeparator

sequence of symbols to separate columns

columnsWidths

widths of all columns

strs

list of strings to substitute to columns