I want to do a string replace in Python, but only do the first instance going from right to left. In an ideal world I\'d have:
myStr = \"mississippi\" print
>>> myStr[::-1].replace("iss"[::-1], "XXX"[::-1], 1)[::-1] 'missXXXippi'