Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Text.ReplaceAll
Find & Replace all occurrences of a text.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 7.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "Text.ReplaceAll"; Text; Find; ReplaceWithText ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Text | The text to search. | "Hello World" |
| Find | The text to find. | "o" |
| ReplaceWithText | The new text. | "a" |
Result
Returns text or error.
Description
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.
Examples
Simple replace:
MBS( "Text.ReplaceAll"; "Hello"; "e"; "a" )
Example result: "Hallo"
See also
Blog Entries
Release notes
- Version 8.3
- Fixed a problem with Text.ReplaceAll causing freeze with empty string to search.
- Version 7.3
- Added Text.ReplaceAll function.
Created 13th July 2017, last changed 13th July 2017
Text.RemovePrefix - Text.ReplaceNewline
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins