Functions and operators : LEN( )

LEN( )

Counts the number of characters in a string.

Syntax

LEN(str)

Argument

str

The string expression to evaluate.

Returns

The number of characters in the specified string.

Example

The following example returns the length of each value in the ProductCode data field.

LEN([ProductCode])