Enable JavaScript in the browser to display LibreOfficeDev Help pages.

RIGHT

Returns the last character or characters of a text.

语法

RIGHT("Text" [; Number])

Text is the text of which the right part is to be determined.

Number (optional) is the number of characters from the right part of the text. If this parameter is not defined, one character is returned.

示例

=RIGHT("Sun";2) returns un.