makes tables from single line strings