Replace - script and chart function

Replace() returns a string after replacing all occurrences of a given substring within the input string with another substring. The function is non-recursive and works from left to right.


Replace(text, from_str, to_str)

Return data type: string


Argument Description
text The original string.
from_str A string which may occur one or more times within the input string text.
to_str The string that will replace all occurrences of from_str within the string text.

See also:


Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?