strreplace
expression function
Replaces substrings with a new string.
Usage
strreplace(s, old, new)
Returns a copy of s with any occurances of the old string replaces with the new string.
Examples
echo `strreplace("/project/project.hip", "project", "char01")`
Returns /char01/char01.hip.