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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Text.Code

Queries the number of a character.

Component Version macOS Windows Linux Server iOS SDK
Text 5.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Text.Code"; Char )   More

Parameters

Parameter Description Example
Char The text character to look at. "😀"

Result

Returns OK or error.

Description

Queries the number of a character.
Returns the unicode code point. Compared to FileMaker's Code() function, this function does handle codes over 65535.

See also Text.Character.

Examples

Query code for a smiley:

MBS( "Text.Code"; "😀" )

Example result: 128512

See also

Blog Entries

Created 4th June 2015, last changed 11st December 2016


Text.Characters - Text.ConvertFromTextEncoding

Feedback: Report problem or ask question.