View source: R/string_operations.R
substrRight | R Documentation |
Extract substrings in a character vector counting from right.
substrRight(x, n)
x |
a character vector. |
n |
integer. The first element to be replaced. |
A substracted character from x
.
substrRight("ABCD", 2)
#CD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.