Return a copy of the string with the leading and trailing characters removed.
Usage
pystr_strip(str, chars = " ")
Arguments
str
A character vector.
chars
A character string.
Value
A character vector.
Details
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 prefix or suffix; rather, all combinations
of its values are stripped.