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)

round-pushpin Returns 7.
SELECT LastIndexOf('o', 'Hello world') as Result FROM Single