
Last chance! 50% off unlimited learning
Sale ends in
Remove and replace punctuation from strings.
str_rm_punctuation(x, replacement = "")
A vector or string.
A string to replace the punctuation with, defaults to "".
x, with punctuation removed/replaced.
# NOT RUN {
str_rm_punctuation(c("wait, is this is a test?", "Tests: . ! ?"))
# }
Run the code above in your browser using DataLab