View source: R/extract_in_parentheses.R
extract_in_parentheses | R Documentation |
Extract information inside the parentheses from a character string.
extract_in_parentheses(x)
x |
Character string |
Part(s) of the input character string that was constrained in the parentheses.
This function is based on the answer from https://stackoverflow.com/questions/8613237/extract-info-inside-all-parenthesis-in-r
extract_in_parentheses("abc (11%) xyz")
extract_in_parentheses("Lorem ipsum (dolor sit amet), consectetur adipiscing elit, (sed do eiusmod) tempor incididunt ut (labore et dolore) magna aliqua")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.