strReplaceReduce | R Documentation |
Sequential string replace via reduce
strReplaceReduce(string, pattern, replacement)
string |
string |
pattern |
pattern |
replacement |
replacement |
character vector
tidyrules:::strReplaceReduce("abcd", c("ab", "dc"), c("cd", "ab"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.