TX Sheet Control

RIGHTB Function

Function

Take characters from the end of a text, counted in bytes. The arguments are the text and the number of bytes to return (1 when omitted). TX Sheet Control counts every character as one byte, including double-byte characters such as Japanese, so RIGHTB returns the same as RIGHT. A negative number of bytes returns #VALUE!.

Syntax

RIGHTB(text, argument1, argument2)

Category: Text. Minimum arguments: 1. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=RIGHTB("abc")

The formula returns c.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also