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