"right" (string::right)
Returns a substring that contains the n rightmost characters of the string.
Synopsis
string string.right(int n);
Parameters
Parameter | Description |
---|---|
n | Number of characters |
Description
Returns a substring that contains the n rightmost characters of the string. The entire string is returned if n is greater than or equal to length(), or less than zero.
Assignment
String