Description Usage Arguments Value Note
Remove All Non-Word Punctiation
1 2 | punctReplace(txt)
replacePunct(txt) ## old wrapper - use punctReplace() for convention
|
txt |
a character or character vector |
A character or character vector without non-midword punctuation
This function will not corrupt words containing punctuation, like "don't," but will ensure that there remain spaces between words that are separated by punctuation. It is imperfect but helpful.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.