trim spaces
trim spaces default
trim spaces list
trim spaces numeric
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)# S3 method for default
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
# S3 method for list
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
# S3 method for numeric
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
text to be trimmed
defaults to both might also be left, right, both or b, r, l to express where to trim pattern away
regex to look for
further arguments passed through to text_replace()