str_rm_punctuation {textTools} | R Documentation |
Remove and replace punctuation from strings.
str_rm_punctuation(x, replacement = "")
x |
A vector or string. |
replacement |
A string to replace the punctuation with, defaults to "". |
x, with punctuation removed/replaced.
str_rm_punctuation(c("wait, is this is a test?", "Tests: . ! ?"))