LastIndexOf
Returns the zero-based position of the last occurrence of textToFind in textToSearch. Returns -1 when it is not found.
Numeric LastIndexOf(String textToFind, String textToSearch, Numeric offset = -1)
SELECT LastIndexOf('o', 'Hello world') as Result FROM Single