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