String

LEFTOFLAST (s1, s2)

Returns the left part of s1 at the position of the last occurrence of the string s2 into string s1.