turns a string from line to output as column