?php $title="RIGHT function definition and online calculator"; $keywords=""; $description="RIGHT(str,n) returns the last n characters of str. If n equals 0, then the RIGHT function returns an empty string. If n is equal to or more than the length of the string str, the function returns the complete string."; $menu=14; $mmpid=4; $heading="RIGHT function"; $ogimage=""; $commentpageid=511; include("inc/header.php"); ?>

Description

Right portion of a string function. RIGHT(str,n) returns the last n characters of str. If n equals 0, then the RIGHT function returns an empty string. If n is equal to or more than the length of the string str, the function returns the complete string.

Example

RIGHT(B15,1) returns "1" if cell B15 equals "Center 1"