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. |
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!