sbool containsNewLine(S s) { ret contains(s, '\n'); // screw \r, nobody needs it }