We might be able to have a third function with the for, which would receive the line/range and a stop function (which receives the index and the line length and returns true or false) and returns the column.