TRUECALC
Functions

LENB

Number of bytes in text

Try it

When to use it

When should I use LENB instead of LEN?

Use LENB when you need the byte length of a string rather than the character count, which differs for multibyte character sets such as CJK where each character is 2 bytes.

Used in

operations

Syntax

LENB(text)

Examples

=LENB("Aeñ") // => 3
=LENB("熊本") // => 4

On this page