1% Generated by roxygen2 (4.1.1): do not edit by hand
2% Please edit documentation in R/pystr_rstrip.R
3\name{pystr_rstrip}
4\alias{pystr_rstrip}
5\title{Right strip a string.}
6\usage{
7pystr_rstrip(str, chars = " ")
8}
9\arguments{
10\item{str}{A character vector.}
11
12\item{chars}{A character string.}
13}
14\value{
15A character vector.
16}
17\description{
18Return a copy of the string with trailing characters removed.
19}
20\details{
21The \code{chars} argument is a string specifying the set of characters to be removed.
22If omitted, the \code{chars} argument defaults to removing whitespace. The \code{chars} argument
23is not a suffix; rather, all combinations of its values are stripped.
24}
25\examples{
26pystr_rstrip("    spacious     ")
27pystr_rstrip("www.example.com", ".omc")
28}
29\references{
30\url{https://docs.python.org/3/library/stdtypes.html#str.rstrip}
31}
32\seealso{
33\code{\link{pystr_lstrip}}
34}
35
36