Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  


Find & Replace all occurrences of a text.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 7.3 Yes Yes Yes Yes Yes
MBS( "Text.ReplaceAll"; Text; Find; ReplaceWithText )   More


Parameter Description Example value
Text The text to search. "Hello World"
Find The text to find. "o"
ReplaceWithText The new text. "a"


Returns text or error.


Find & Replace all occurrences of a text.
Quickly looks for all occurrences of a given text in another text and replaces it with a new text.
Optimized code for extra speed if you replace one character with another character.


Simple replace:

MBS( "Text.ReplaceAll"; "Hello"; "e"; "a" )

Example result: "Hallo"

See also

Blog Entries

Release notes

Created 13th July 2017, last changed 13th July 2017

Text.RemovePrefix   -   Text.ReplaceNewline

Feedback: Report problem or ask question.

MBS FileMaker blog