Script functions reference > Script functions in alphabetical order > S > SubStrRepl

SubStrRepl
Syntax
SubStrRepl(str, search_str, repl_str);
str 
search_str
repl_str
Description
Replaces a search string with a sub-string in an input string.
Returns
A string.
Example
$a="Intelligent Output Management";
$b=substrrepl($a, "Out", "In");
Result:
$b="Intelligent Input Management"
OpenText StreamServe 5.6.2 Updated: 2018-01-26