static int getIndentOfLine(S s) { int i = 0, n = l(s); while (i < n && s.charAt(i) == ' ') ++i; ret i; }