strReplace# swordfish.function.strReplace()# Return a copy of str and replace all occurrences of pattern with replacement. Parameters: str (Constant) – A string scalar/vector. pattern (Constant) – A string scalar/vector. replacement (Constant) – A string scalar/vector.