is_punct {charcuterie} | R Documentation |
Compares against the regex group [[:punct:]]
.
is_punct(x)
x |
A vector of characters. |
A boolean vector indicating whether each element of x
is
considered as punctuation.
is_punct(chars("I can haz?"))
Filter(Negate(is_punct), chars("abc,123;$*%?"))