strlen(value: string) -> int64

Returns the number of Unicode code points in the string (character count rather than UTF-8 byte length). A null argument produces a null int64 result.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

Measures how many Unicode code points each metric name contains for sizing or validation rules.

Shows that a single non-ASCII character contributes length one even though it occupies multiple UTF-8 bytes.