LENC( ) Function

See Also

Returns the number of characters in a character expression or memo field.

Syntax

LENC(cExpression)

Returns

Numeric

Arguments

cExpression

Specifies the character expression for which LENC( ) returns the number of characters.

Remarks

LENC( ) is designed for expressions containing double-byte characters. If the expression contains only single-byte characters, LENC( ) is equivalent to LEN( ).

LENC( ) returns the number of characters in a character expression or memo field containing any combination of single-byte and double-byte characters.

This function is useful for manipulating double-byte character sets for languages such as Hiragana and Katakana.