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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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


Text.JaroWinklerDistance - Text.LevenshteinDistance

💬 Ask a question or report a problem