I have this query which finds the position of sub string.
select position('-' || lower('i') in lower('GFT-iMB5-i'))
(this is an example it actually uses function variables to replace the strings)
This return 4
In a nut shell I want it to begin from the end of the string and not from the start.
meaning I want to get: 9
How can I do that?