Go to: Synopsis. Return value. MEL examples.
string substituteAllString(string $text, string $searchStr, string $replaceStr)
| string: The new text string with the replacement strings in it. |
| Variable Name | Variable Type | Description |
|---|---|---|
| $text | string | - Original string to be modified. |
| $searchStr | string | - Search string to replace. |
| $replaceStr | string | - String that will be added in. |
string $text = "one + two + three + four";
string $result = substituteAllString($text, "+", "plus");
print $result;