LENB

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

tip

Aquesta funció és disponible des de la versió 4.2 del LibreOffice.


Sintaxi

LONGB("Text")

Text és el text la longitud del qual s'ha de determinar.

Exemple

ESQUERRAB("中国";2) retorna "中" (2 bytes formen un caràcter DBCS complet).

ESQUERRAB("中国";2) retorna 4 (2 bytes formen un caràcter DBCS).

LONGB("oficina") retorna 7 (7 caràcters no-DBCS, cadascun format per 1 byte).

=LONGB("Bon dia") retorna 7.

=LONGB(12345,67) retorna 8.

Ens cal la vostra ajuda!