Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Text.Length
Query length of text.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Text | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Text.Length"; Text ) More
Parameters
Parameter | Description | Example |
---|---|---|
Text | The text to check. | "Hello" |
Result
Returns number or error.
Description
Query length of text.This is number of UTF16 code points.
Some characters need 2 code points.
Examples
Measure length of emoji:
MBS( "Text.Length"; "🍎" )
Example result: 2
See also
This function is free to use.
Created 25th April 2017, last changed 31st January 2023