Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.FilterSwissQRCode
Filters characters for Swiss QR code for payments.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 14.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.FilterSwissQRCode"; Text { ; MultiLine } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Text | The text to filter. | ||
MultiLine | Pass 1 to enable newline characters. If enabled, we allow Char(13) to go through. Other new line characters get converted to Char(13). Default is 0 to disable newlines and work on values only. |
1 | Optional |
Result
Returns OK or error.
Description
Filters characters for Swiss QR code for payments.We pass through allowed characters:
- Basic-Latin (Unicodepoint U+0020 - U+007E)
- Latin1-Supplement (Unicodepoint U+00A0 - U+00FF)
- Latin Extended-A (Unicodepoint U+0100 - U+017F)
- Ș - (LATIN CAPITAL LETTER S WITH COMMA BELOW, Unicodepoint U+0218)
- ș - (LATIN SMALL LETTER S WITH COMMA BELOW, Unicodepoint U+0219)
- Ț - (LATIN CAPITAL LETTER T WITH COMMA BELOW, Unicodepoint U+021A)
- ț - (LATIN SMALL LETTER T WITH COMMA BELOW, Unicodepoint U+021B)
- € - (EURO SIGN, Unicodepoint U+20AC)
For other characters, we try to translate them to allowed characters, e.g ¼ is changed to 1/4.
Examples
Filter some text:
MBS( "Text.FilterSwissQRCode"; "Hello World ≤ «∑€®†Ω 日本国" )
Example result: Hello World <= «€®
Release notes
- Version 14.5
- Added Text.FilterSwissQRCode function.
Blog Entries
- New in MBS FileMaker Plugin in Version 14.5
- Neues MBS Plugin 14.5 für Claris FileMaker
- MBS FileMaker Plugin 14.5 for Claris FileMaker
- MBS FileMaker Plugin, version 14.5pr1
FileMaker Magazin
This function checks for a license.
Created 26th September 2024, last changed 8th November 2024