powered by
pystr_rfind
sub
pystr_rindex(str, sub, start = 1, end = nchar(str))
pystr_index
pystr_rindex("abcxyzabc", "abc") pystr_rindex("12121212", "12", 4, 6) ## Not run: # pystr_rindex("abcxyzabc", "123") # ## End(Not run)
Run the code above in your browser using DataLab