strlen
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
make_col label_len: strlen(metric_name)
Measures how many Unicode code points each metric name contains for sizing or validation rules.
make_col pi_len: strlen("π")
Shows that a single non-ASCII character contributes length one even though it occupies multiple UTF-8 bytes.
Updated 18 days ago