StringTokenizer.fromRange constructor

StringTokenizer.fromRange(
  1. String source,
  2. int index,
  3. int endIndex
)

Creates a tokenizer for a range within the source string.

Tokenizes only the substring from index to endIndex (exclusive). Useful for parsing nested expressions or substrings without copying.

Implementation

StringTokenizer.fromRange(this.source, this.index, this.endIndex);