chr_replace.Rd
Replaces all matching patterns with user-provided string.
chr_replace(x, m, r, ignore.case = FALSE, ...)
x | Character vector. |
---|---|
m | Matching text or regular expression usd to locate text to be replaced. |
r | Replacement text, the length of which must be either one (a single string used as the replacement text) or equal to the length of the supplied character vector |
ignore.case | Logical indicating whether to ignore capitalization, defaults to FALSE. |
... | Other args passed on to |
Vector without URLs.