Table of contents
TOC
Collapse the table of content
Expand the table of content

Text.Replace

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Replaces all occurrences of a substring with a new text value.

Text.Replace (text as nullable text, old as text, new as text) as nullable text  

Arguments

ArgumentDescription
textThe text to parse.
oldThe text to replace.
newThe replacement text.

Example

Text.Replace("Thisisanorange", "orange", "apple") equals "Thisisanapple"  
© 2018 Microsoft