str_rm_punctuation {textTools} | R Documentation |
Remove and replace punctuation from strings.
Description
Remove and replace punctuation from strings.
Usage
str_rm_punctuation(x, replacement = "")
Arguments
x |
A vector or string. |
replacement |
A string to replace the punctuation with, defaults to "". |
Value
x, with punctuation removed/replaced.
Examples
str_rm_punctuation(c("wait, is this is a test?", "Tests: . ! ?"))
[Package textTools version 0.1.0 Index]