Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

Text.Character

Creates a character with given number.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Text 5.2 Yes Yes Yes Yes Yes
MBS( "Text.Character"; Character Number )   More

Parameters

Parameter Description Example value
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

Blog Entries

Created 4th June 2015, last changed 17th September 2018


Text.CapitalCase   -   Text.Characters

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins