len

Purpose

Returns the number of characters in a string.

Syntax

len(string)

Arguments

Requires a single argument of a string or text value.

Returned Value

Returns an integer value representing the number of characters in the input.

If the input is null, a null value is returned.

Examples

len("Hello") returns 5.

len("What’s up?") returns 10.