static S replaceSuffix(S a, S b, S s) { ret endsWith(s, a) ? dropLast(s, l(a)) + b : s; }