Description Usage Arguments Details Value References See Also Examples
Split the string at the last occurrence of sep
, and return a list of character vectors containing the part before the separator,
the separator itself, and the part after the separator.
1 | pystr_rpartition(str, sep)
|
str |
A character vector. |
sep |
A character string. |
If the separator is not found, return a character vector containing two empty strings, followed by the string itself.
A character vector.
https://docs.python.org/3/library/stdtypes.html#str.rpartition
1 | pystr_rpartition("onetwothreeonetwothree", "two")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.