SUBSTITUTE Function: Difference between revisions

From Planfix
Jump to: navigation, search
No edit summary
No edit summary
Line 11: Line 11:
SUBSTITUTE(A;"sales";"prices")
SUBSTITUTE(A;"sales";"prices")


SUBSTITUTE({{Task.String field}};"what";"where")
SUBSTITUTE(<nowiki>{{Task.String field}}</nowiki>;"what";"where")
 





Revision as of 05:40, 6 December 2019

This function substitutes the value of the "new_text" argument in place of the value of the "old_text" argument in a string. The SUBSTITUTE function is used when you need to replace a specific part of a string.


Format:

  • SUBSTITUTE(text;old_text;new_text)


Examples:

SUBSTITUTE(A;"sales";"prices")

SUBSTITUTE({{Task.String field}};"what";"where")


Go To