View source: R/e_substr_last_n.R
e_substr_last_n | R Documentation |
Uses stringr::str_sub(string, start = -n)
.
e_substr_last_n(string = NULL, last_n = 1)
string |
list of strings |
last_n |
number of characters from the end to keep |
same list of strings but only up to last n characters from each
c("abcdefghij", "This has a space", "abc", NA) |>
e_substr_last_n(last_n = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.