1% Generated by roxygen2 (4.1.1): do not edit by hand
2% Please edit documentation in R/pystr_rpartition.R
3\name{pystr_rpartition}
4\alias{pystr_rpartition}
5\title{Partition a string from the right.}
6\usage{
7pystr_rpartition(str, sep)
8}
9\arguments{
10\item{str}{A character vector.}
11
12\item{sep}{A character string.}
13}
14\value{
15A character vector.
16}
17\description{
18Split the string at the last occurrence of \code{sep}, and return a list of character vectors containing the part before the separator,
19the separator itself, and the part after the separator.
20}
21\details{
22If the separator is not found, return a character vector containing two empty strings, followed by the string itself.
23}
24\examples{
25pystr_rpartition("onetwothreeonetwothree", "two")
26}
27\references{
28\url{https://docs.python.org/3/library/stdtypes.html#str.rpartition}
29}
30\seealso{
31\code{\link{pystr_partition}}
32}
33
34