Axuda do LibreOffice 25.2
Devolve o último carácter ou caracteres dun texto co dobre personaxes bytes conxuntos (DBCS).
DEREITAB ("Texto" [; Número_bytes])
Texto é o texto do cal a parte dereita é para ser determinado.
Number_bytes (optional) specifies the number of characters you want RIGHTB to extract, based on bytes. If this parameter is not defined, one byte is returned.
RIGHTB("中国";1) returns " " (1 byte is only half a DBCS character and a space character is returned instead).
RIGHTB("中国";2) returns "国" (2 bytes constitute one complete DBCS character).
RIGHTB("中国";3) returns " 国" (3 bytes constitute one half DBCS character and one whole DBCS character; a space is returned for the first half).
RIGHTB("中国";4) returns "中国" (4 bytes constitute two complete DBCS characters).
LenB (\ "oficina") Devolve 6 (seis caracteres non DBCS cada unha composta por un byte).