User Tools

Site Tools


syntax:functions:replace

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
syntax:functions:replace [2015/01/31 16:33] – created dmitrysyntax:functions:replace [2015/03/27 17:17] elenap
Line 1: Line 1:
 ===== Replace(text, old_string, new_string) ===== ===== Replace(text, old_string, new_string) =====
  
-Replaces all entries of //old_string// in //text// with //new_string//.+Replaces all entries of the //'old_string'// in the //'text'// with the //'new_string'//.
  
 All arguments are implicitly converted into text, if they are not. All arguments are implicitly converted into text, if they are not.
 +
 +^  Example  ^  Result  ^
 +|  replace('Food & Beverage', '&', 'and'   Food and Beverage  |
 +|  replace('New York City', 'York City', 'Orleans' |  New Orleans  |
syntax/functions/replace.txt · Last modified: 2021/09/08 14:19 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki