static S substringAntitrim(S s, int start, int end) {
  ret substring(s, antitrim(s, start, end));
}