It should be Greater and not GreaterEqual if am not wrong.
If started at index=0, A phrase of 5 letters give len=5, but when reaching index 5, it will try to get the letter index at 5 which doesnt exist which is the 6th letter.
2 Likes