# [Jelly], 5 bytes

    iÐƤ¹Ƈ

[Try it online!][TIO-kzej1ro8]

[Jelly]: https://github.com/DennisMitchell/jelly
[TIO-kzej1ro8]: https://tio.run/##y0rNyan8/z/z8IRjSw7tPNb@P9pQx0jHWMcQCE1iDy83/A8A "Jelly – Try It Online"

Returns values 1-indexed. Tack on a `’` for 0-indexed values. Port of my Vyxal answer.

```
 ÐƤ    Map over the suffixes...
i      Find the first index of the other value in each
   ¹Ƈ  Filter out zeroes
```