// if text trails with \n, drops the lines before that sS dropLastTwoLines(S s) { ret dropLastLine(dropLastLine(s)); }