trim spaces
trim spaces default
trim spaces list
trim spaces numeric
1 2 3 4 5 6 7 8 9 10 | text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
## Default S3 method:
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
## S3 method for class 'list'
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
## S3 method for class 'numeric'
text_trim(string, side = c("both", "left", "right"), pattern = " ", ...)
|
string |
text to be trimmed |
side |
defaults to both might also be left, right, both or b, r, l to express where to trim pattern away |
pattern |
regex to look for |
... |
further arguments passed through to text_replace() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.