<< strncmpi | String type | strtrim >> |
res = strrep(str, old, new) |
a string, string array or cell of strings.
a string, string array or cell of strings to find.
a string, string array or cell of strings.
a string, string array or cell of strings.
replace replaces strings in another.
replace and strrep replace strings but replace is recommended.
r = strrep('This is a string.', 'is', 'is not')
r = strrep({'cccc','ccbbcca'},{'cc','bb'},{'cc'})
r = strrep("This is a string.", "is", 'is not')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET