Replaces a substring in a string. This function is case sensitive.
Number | Type | Compulsory | Default | Description |
1 | string | Yes | String to process | |
2 | string | Yes | Search string | |
3 | string | Yes | Substitute string | |
4 | string | No | Options |
Input string.
Substring searched in input string. This is case sensitive when it searches.
The substring defined in argument 2 found in the input string is replaced with this value. If arg 4 is set to 'all' all substrings found will be replaced, otherwise only the first will be replaced.
Options. If set to 'all', then all substrings located in the string will be replaced. Otherwise, only the first occurrence will be replaced.
Return type: string
Result of string substitution. Note that only the first occurrence of the substring is replaced.
▲Function Summary▲ | ||
◄ SubstProbeExpression | sum ▶ |