stringLastIndexOf
The stringLastIndexOf method is a built-in function found in many programming languages that is used to find the last occurrence of a specified substring within a given string. It searches the string from right to left, returning the starting index of the last match found. If the substring is not found within the string, the method typically returns a value of -1.
The method usually accepts two arguments: the substring to search for, and optionally, the starting position
This function is useful in scenarios where you need to identify the final instance of a pattern