right() counts from the right most position of a character string, for a specified number of characters, and returns the resulting substring. If the specified number of characters is more than the total length of the string, then the entire string will be returned.
A character string, or a vector of character strings. This is the (vector of) character strings(s) of which the right most characters are to be returned.
An integer or a vector of integers, specifying the right most number of characters to return. If both 'string' and 'nr_or_chars' are a vector, then the vector lengths must match.
A character string, or a vector of character strings if the input is a vector.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.