📅  最后修改于: 2022-03-11 14:56:58.080000             🧑  作者: Mango
Let's say you have this string:
str = 'I drink a soda'
and want to replace soda with coffee. That's how:
newStr = strrep(str,'soda','coffee')