Trim leading and trailing whitespace in character string.
stringr package or
trimws() in R3.2.0 but way faster.
Source: Hadley Wickham comment at http://stackoverflow.com/questions/2261079/how-to-trim-leading-and-trailing-whitespace-in-r
returns a character string with removed leading and trailing whitespace characters.
strTrim(" Hello World! ")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.