static bool startsWithAndEndsWith(S s, S prefix, S suffix) { ret startsWith(s, prefix) && endsWith(s, suffix); }