I don't understand - the value of the middle letters won't affect where the next string is located. The length of the string will.

edit: Nevermind, I see what you are asking.