import soon/columnize import std/[unittest, strutils] test "Testing columize": var table = newSeq[seq[string]]() let line1 = @["Jan 1", "(OVERDUE)", "Do the thing"] let line2 = @["Feb 22", "(Due in 24 days)", "Do that other thing"] table.add(line1) table.add(line2) for line in columnize(table): echo line.join(" ")