static S substringAntitrimIndexOf(S s, S sub) { int i = indexOf(s, sub); if (i < 0) null; ret substringAntitrim(s, i, i+l(sub)); }