str_rm_non_printable {textTools} | R Documentation |
Remove and replace non-printable characters from strings.
str_rm_non_printable(x, replacement = " ")
x |
A vector or string. |
replacement |
A string to replace the numbers with, defaults to " ". |
x, with non-printable characters removed/replaced.
str_rm_non_printable(c("test \n\n\n67890 * % $ "))