powered by
old
new
pystr_replace(str, old, new, count = nchar(str) + 2)
count
pystr_replace("123123123", "2", "two") pystr_replace("123123123", "2", "two", 2)
Run the code above in your browser using DataLab