sS dropLeadingNewLine(S s) { if (startsWith(s, "\r\n")) ret substring(s, 2); if (startsWith(s, "\n")) ret substring(s, 1); ret s; }