So I'm looking for a way to find the last index of a substring in a string. Here's some pseudo-code.
string = "hello 123 this is a test"
substring = "123 this"
>>> string.find_substring_index(substring)
13
"hello 123 this is a test"
# ^
Any built-in function to do this? Or do I have to manually "match" the string and return the last occurrence?