return the position of the rightmost occurrence of t in s, or -1 if there is none