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