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