Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.Character
Creates a character with given number.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.Character"; Character Number ) More
Parameters
Parameter | Description | Example |
---|---|---|
Character Number | The unicode codepoint. | 65 |
Result
Returns OK or error.
Description
Creates a character with given number.The FileMaker Char() function works only for unicode values up to 65535. This function works with higher values up to 2 billion.
See also Text.Code.
Examples
Test the function:
"Shows a musical symbol: " & char(119070) &" " & MBS("Text.Character"; 119070)
Example result: Shows a musical symbol: 䩾 𝄞
Get smiley:
MBS("Text.Character"; 128512)
Example result: 😀
Build country flag from country code:
MBS( "Text.Character"; 127397 + Code ( "D" )) & MBS( "Text.Character"; 127397 + Code ( "E" ))
Example result: 🇩🇪
See also
- Text.Characters
- Text.Code
- Text.ConvertUnicodeToCharacterComposition
- Text.ConvertUnicodeToCharacterDecomposition
Example Databases
Blog Entries
This function is free to use.
Created 4th June 2015, last changed 17th September 2018