Replace - script and chart function
This function returns a string after replacing all occurrences of a given substring within the string s with another substring. The function is non-recursive and works from left to right.
Syntax:
Replace(s, fromstring ,tostring)
Arguments:
| Argument | Description |
|---|---|
| s | The original string. |
| fromstring | A string which may occur one or more times within string. |
| tostring | The string which will replace all occurrences of fromstring within the string. |