Character Position Logic

Apr 20, 2016 at 12:18 PM

We are trying to understand the logic behind the position returned by the FindAll function. If I search for a word "Specified" in the document, it returns the positions at which it occurs. But the position doesn't follow any specific pattern.

Also some of the values that I am receiving multiple indexes of same values. (E.g. it is returning me "67" four times)

What is the logic behind the position indexing?