str_replace_nth.RdReplace the nth occurrence of string with another string
str_replace_nth(x, pattern, replacement, n)string to search for pattern
pattern to search for
replacement string
the nth orrcurrences of pattern that will be replaced
string