right | R Documentation |
n
characters from the right of a string
right
uses a specific case of the substr
function to take only
the right most n
characters from the input string.Extract the n
characters from the right of a string
right
uses a specific case of the substr
function to take only
the right most n
characters from the input string.
right(x, n)
x |
a string |
n |
the number of characters from the right of the string to extract |
foo <- "foo" right(foo, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.