strfindreplaceΒΆ
strfindreplace performs a find-and-replace operation in a string matrix.
-
smStringNew = strfindreplace(smStringOld, ssFind, ssReplace)
Return Value
smStringNew is a string matrix in which the substring ssFind is replaced by the string ssReplace.
Parameters
-
smStringOld
smStringOld is the source string matrix.
-
ssFind
ssFind is the find string.
-
ssReplace
ssReplace is the replace string.
Example
strfindreplace("This is not a string", "not a", "a")
This is a string
See also
id-955252