User Tools

Site Tools


syntax:functions:replace

This is an old revision of the document!


Replace(text, old_string, new_string)

Replaces all entries of the 'old_string' in the 'text' with the 'new_string'.

All arguments are implicitly converted into text, if required.

Example Result
replace('Food & Beverage', '&', 'and') Food and Beverage
replace('New York City', 'York City', 'Orleans') New Orleans
syntax/functions/replace.1428099109.txt.gz · Last modified: 2015/04/03 18:11 by elenap

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki