Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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 text 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

This function is free to use.

Created 4th June 2015, last changed 9th November 2021


Text.Characters - Text.Concat

💬 Ask a question or report a problem