Set i to the position of the last occurrence of the string y inside the string x, if exists.Specify if i should be regarded as a character index or as a byte index.Explain the behavior when y is not contained in x.
i = x.rindex(y)
import "strings"
i := strings.LastIndex(x, y)
int i = x.lastIndexOf(y);
StrUtils
i := RPos(y,x);
i = x.rfind(y)
let i = x.rfind(y);
No security, no password. Other people might choose the same nickname.