Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.Characters
Returns the character codes.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 5.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.Characters"; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
Text | The text to process. | "Hello" |
Result
Returns text or error.
Description
Returns the character codes.Similar to walking over all characters, getting the unicode code point for the character and return its number.
This shows UTF-32 characters.
Examples
Get characters from Hello:
MBS( "Text.Characters"; "Hello" )
Example result: 72 101 108 108 111
Show characters for emoji:
MBS( "Text.Characters"; "🍎" )
Example result: 127822
See also
- Text.Character
- Text.ConvertUnicodeToCharacterComposition
- Text.ConvertUnicodeToCharacterDecomposition
Example Databases
This function is free to use.
Created 3th August 2015, last changed 31st January 2023