| str_replace_all {stringstatic} | R Documentation | 
Replace matched patterns in a string
Description
Dependency-free drop-in alternative for stringr::str_replace_all().
Usage
str_replace_all(string, pattern, replacement)
Arguments
| string | Input vector. Either a character vector, or something coercible to one. | 
| pattern | Pattern to look for. The default interpretation is a regular expression,
as described in base::regex.
Control options with  Match a fixed string (i.e. by comparing only bytes), using  | 
| replacement | A character vector of replacements.
Should be either length one, or the same length as  To perform multiple replacements in each element of  To replace the complete string with  Using a function for  | 
Value
A character vector.
Source
Adapted from the stringr package.