simplify slightly

`string[i] == string[i+1]` is equivalent to `string[i-0] == string[i+1-0]`