RIGHT
Function
Returns the rightmost len characters of the string str.
Parameters
str: string typelen: int type, the number of characters to return
Returns
- string type, returns the rightmost
lencharacters of the string. - If
lenis less than or equal to 0, returns an empty string. - If
lenis greater than the string length, returns the full string.
Examples
Notes
- Supports Unicode characters, counting by character (not by byte).
