static S onlyUntilSpace(S s) { int i = s.indexOf(' '); ret i >= 0 ? s.substring(0, i) : s; }