String replace multiple strings in a vector.
Details
str_replace_vec()
is a vectorized form of stringr::str_replace()
.
This is different from passing a named vector to stringr::str_replace_all
,
which performs multiple replacements but to all pattern matches in a string.