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.FilterASCII
Filters text to ASCII.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Text | 10.4 | Yes | Yes | Yes | Yes | Yes |
MBS( "Text.FilterASCII"; Text { ; Replacement } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Text | The text to process. | "Hello 😀 Wörld" | |
| Replacement | Replacement text for invalid characters. Default is empty. |
"?" | Optional |
Result
Returns text or error.
Description
Filters text to ASCII.Removes all non ASCII characters which can't fit into 7bit.
This function removes those for software, which may not handle them correctly.
We convert 23 variants of curly quotes into ASCII quotes.
See also Text.RemoveControlCharacters and Text.RemoveAccents functions.
See also
Blog Entries
Release notes
- Version 10.4
- Added Text.FilterASCII function.
Created 8th September 2020, last changed 15th September 2020
Text.FileExtensionToMimeType - Text.FilterUTF16
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins