May I suggest an easier way of getting the right hand part of a string as follows:
SUBSTR("abcdefghijk",-4,2) which would return "hi"
Basically if the start position is negative then it refers to the end of the string, not the beginning of the string
(-1 refering to the last character).