strrep

strrep(str,oldSubStr,newSubStr) returns string str where all occurrences of substring oldSubStr have been replaced with newSubStr.

Examples

> strrep('change this here and this here','this','****')#

change **** here and **** here

Resources

See also

strfind