Often to test buffers/offsets you need to find a way to fill a string with a logic unique sequence, this here is a simple generator.
Just enter a part of the sequence that you want to know the index in the full sequence. Index given is the size of the buffer, or the value of your offset! (Give at least 3 chars)