Description Usage Arguments Details Value References See Also Examples
Return a copy of the string with trailing characters removed.
1 | pystr_rstrip(str, chars = " ")
|
str |
A character vector. |
chars |
A character string. |
The chars
argument is a string specifying the set of characters to be removed.
If omitted, the chars
argument defaults to removing whitespace. The chars
argument
is not a suffix; rather, all combinations of its values are stripped.
A character vector.
https://docs.python.org/3/library/stdtypes.html#str.rstrip
1 2 | pystr_rstrip(" spacious ")
pystr_rstrip("www.example.com", ".omc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.