Description Usage Arguments Value References See Also Examples
Like pystr_rfind
but raises an error if sub
is not found.
1 |
str |
A character vector. |
sub |
A character vector. |
start |
A numeric vector. |
end |
A numeric vector. |
A numeric vector.
https://docs.python.org/3/library/stdtypes.html#str.rindex
1 2 3 4 5 6 | pystr_rindex("abcxyzabc", "abc")
pystr_rindex("12121212", "12", 4, 6)
## Not run:
pystr_rindex("abcxyzabc", "123")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.