RIGHT

RIGHT the last num_chars characters of the string s

Synopsis

RIGHT(s,num_chars)

Arguments

s: the string

num_chars: the number of characters to return (defaults to 1)

Note

If the string s is in a right-to-left script, the returned last characters are from the left of the string.

Microsoft Excel Compatibility

This function is Excel compatible.

OpenDocument Format (ODF) Compatibility

This function is OpenFormula compatible.

See also

LEFT, MID, LEN, LEFTB, MIDB, RIGHTB, LENB.