SyntaxFix
Write A Post
Hire A Developer
Questions
As of R 3.2.0 a new function was introduced for removing leading/trailing white spaces:
trimws()
See: Remove Leading/Trailing Whitespace