strlen

Description

Compute the length of an input string.

Return type

int64

Domain

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

Categories

Usage

strlen(value)

Argument

Type

Optional

Repeatable

Restrictions

value

string

no

no

none

Examples

make_col foo:strlen("The quick brown fox jumped over the lazy dog.")

This counts the number of characters in a string and creates a new column foo containing 45.