TX Sheet Control

LENB Function

Function

Return the length of a text, counted in bytes in Excel for double-byte languages. In TX Sheet Control, LENB counts characters as LEN does, also for Japanese or Chinese text, so LENB("日本") returns 2. text is the text; the catalog accepts one argument, although the syntax names three, and a second argument returns #VALUE!.

Syntax

LENB(text, argument1, argument2)

Category: Text. Minimum arguments: 1. Maximum arguments: 1.

Available for supported offline calculation.

Examples

=LENB("abc")

The formula returns 3.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also