Hi there!
I have a function which is a wrapper around stringr::str_c()
, and therefore receives any number of character vectors as input using the ...
argument.
The issue is that I would like to perform some preliminary cleaning on these vectors with stringr::str_replace_all()
before passing them to str_c()
, but str_replace_all()
function only recieves a single character vector as string input.
How do I pass ...
arguments to str_replace all()
?
Please note that I intend to use the replaced version of ...
later in my function, so the result of replacement should somehow be saved in a form that can be passed to str_c()
.
Thanks!