fn builtin_trimws(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Remove leading and/or trailing whitespace from strings.
@param x character vector to trim
@param which character scalar: “both”, “left”, or “right” (default “both”)
@param whitespace character scalar: regex pattern of whitespace characters
to trim (default "[ \\t\\r\\n]")
@return character vector with whitespace removed