powered by
sub
substr(str, start, end)
pystr_rfind(str, sub, start = 1, end = nchar(str))
-1
pystr_find
pystr_rfind("abcdxyzabc", "abc") pystr_rfind("abc", "xy") pystr_rfind("abcxyzabc", "abc", 4)
Run the code above in your browser using DataLab