extract_text: Extract text

View source: R/unpack_text.R

extract_textR Documentation

Extract text

Description

Extract text

Usage

extract_text(txt, limits = "()")

Arguments

txt

text containing parenthesis

limits

area to extract text from, c("()", "", "[]")

Value

text within limits

Examples

## Not run: 
 extract_text(txt = "Saint Mary Hopital (SMH)")
 extract_text(txt = "TDB [Placeholder - New Mechanism]") 
## End(Not run)

USAID-OHA-SI/glamr documentation built on Oct. 1, 2024, 2:18 p.m.