LENB

For double-byte character set (DBCS) languages, returns the number of bytes used to represent the characters in a text string.

tip

Эта функция доступна начиная с LibreOffice 4.2.


Синтаксис

ДЛИНБ("Текст")

Текст: текст, длину которого требуется определить.

Пример

LENB("中") returns 2 (1 DBCS character consisting of 2 bytes).

LENB("中国") returns 4 (2 DBCS characters each consisting of 2 bytes).

LENB("office") returns 6 (6 non-DBCS characters each consisting of 1 byte).

=ДЛИНБ("Добрый день") возвращает 11.

=ДЛИНБ(12345,67) возвращает 8.

Пожалуйста, поддержите нас!