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