powered by
Compares against the regex group [[:punct:]].
[[:punct:]]
is_punct(x)
A boolean vector indicating whether each element of x is considered as punctuation.
x
A vector of characters.
is_punct(chars("I can haz?")) Filter(Negate(is_punct), chars("abc,123;$*%?"))
Run the code above in your browser using DataLab