static int indexOfDashLine(L lines, int i) { while (i < l(lines)) if (isRepetitionOfCharacter(trim(lines.get(i)), '-')) ret i; else i++; ret -1; }