TX Sheet Control

LEFTB Function

Function

Return the first characters of a text, counted in bytes in Excel for double-byte languages. In TX Sheet Control, LEFTB counts characters as LEFT does, also for Japanese or Chinese text, so LEFTB("日本語",2) returns 日本. text is the text, and the second argument, named argument1 in the syntax, is the number of characters (1 when omitted); a negative number returns #VALUE!. The catalog accepts two arguments.

Syntax

LEFTB(text, argument1, argument2)

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

Available for supported offline calculation.

Examples

=LEFTB("abc")

The formula returns a.

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

See Also