return index of t in s, -1 if none