pystr_rpartition: Partition a string from the right.
Description
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.
Usage
pystr_rpartition(str, sep)
Arguments
str
A character vector.
sep
A character string.
Value
A character vector.
Details
If the separator is not found, return a character vector containing two empty strings, followed by the string itself.