static S newLinesToSpaces_trim(S s) { ret s == null ? null : trim(s).replaceAll("\\s*\r?\n\\s*", " "); }