location For
startPosition - 0 index position in input text nextInputPosition - 0 index position of next 'token', so we can calculate length
startPosition - 0 index position in input text nextInputPosition - 0 index position of next 'token', so we can calculate length