Description Usage Arguments Examples
Takes a string and returns a vector of every punctuation mark present in the string. The punctuation marks returned are: periods, commas, semicolons, question marks, exclamation points, quotation marks (both forward and backward), ellipses and em-dashes.
1 |
text |
Character vector containing all the lines in a given text |
1 2 | sampleText <- gardenParty[10]
extract_punct(text = sampleText)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.