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("テキスト")

テキスト は、その長さが決定されるテキストです。

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).

=LENB("Good Afternoon") は、14 を返します。

=LENB(12345.67) は、8 を返します。

ご支援をお願いします!