Help with project!

Hi all, I need help! I am trying to create an app in xojo where i can compare two dna sequences and see what matches in the sequences there are. The main problem I am having now, is that I do no know how to shift the ‘frame’ i guess with those left and mid terms. I am starting with the length L and from left(mysequence, length), but want to move over one base each time and make a loop. Any ideas?

There was a conversation about this in the last few months. Try to find it because they came up with a really quick and clean design to do this. I’d look but I don’t have the time right now. Good luck with your project.

Edit: Link to conversation.