static S dropTrailingBackslashR(S s) { int i = l(s); while (i > 0 && s.charAt(i-1) == '\r') --i; ret substring(s, 0, i); }