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: 12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  


Removes control characters.

Component Version macOS Windows Linux Server iOS SDK
Text 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.RemoveControlCharacters"; Text )   More


Parameter Description Example
Text The text to process. "Hello World"


Returns text or error.


Removes control characters.
Leaves tab, return and new line characters in the text, but removes other characters with code point <32.
See also Text.ReplaceNewline for replacing line endings.

Rewritten for version 12.1 to preserve text styles.


Remove control characters test:

Length(MBS( "Text.RemoveControlCharacters"; "Hello" & Char(3) & "World" ))

Example result: 10

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 22nd April 2015, last changed 1st February 2022

Text.RemoveAccentsCaseInsensitive - Text.RemoveNewLine

💬 Ask a question or report a problem