sS beforeSpaceTrim_orAll(S s) { ret trim(takeFirst(smartIndexOf(s, ' '), s)); }