View source: R/reverse_substr.R
reverse_substr | R Documentation |
reverse_substr
performs substr
from back to front
reverse_substr(string, start, stop)
string |
vector of strings to be substringed |
start |
starting position (from end of string) |
stop |
stopping position (from end of string) |
Vector of strings the same length as string
x <- 'abcd' reverse_substr(x, 1, 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.