ah I missed this in the docs! And used `.rindex()` I was thinking it was weird haha