str_crush | R Documentation |
str_crush()
, which removes all whitespace from a string,
is the logical extension to stringr::str_trim()
and stringr::str_squish()
.
str_crush(string)
string |
Input vector. Either a character vector, or something coercible to one. |
str_crush()
is considered too specialized to be part of stringr.
A character vector the same length as string
.
stringr::str_trim()
and stringr::str_squish()
str_crush(" String with trailing, middle, and leading white space\t")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.