I worked this in seriousness for something like 15 minutes today.
While I can explain the principle I’ve followed…
Leo: Conceptually I know how this should work!
… I honestly cannot tell exactly how I’ve managed and am not sure I am able to put the string back to where it was.
But I do feel very smart!