str_trim | R Documentation |
Trim leading spaces, trailing spaces or both.
str_trim(x, where = c("leading", "trailing", "both")[3], replace_with = "")
x |
character vector |
where |
character of either 'leading', 'trailing', 'both' (default) |
replace_with |
character, by default "" |
trimmed character vector of same length as the input
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.