static int jfind_upTo(LS tok, int startIdx, int endIdx, S in) { LS tok2 = subList(tok, 0, endIdx); ret jfind(tok2, startIdx, in); }