sS trimIf(bool b, S s) { ret b ? trim(s) : s; }