sS beforeColonOrAll(S s) { ret takeFirst(smartIndexOf(s, ':'), s); }