sS wordRange(S s, int from, int to) { LS tok = javaTokNPunctuationWithBrackets_cached(s); ret joinSubList(tok, min(1, from*2+1), max(to*2, l(tok)-1)); }