| str_elem {filesstrings} | R Documentation |
If the element does not exist, this function returns the empty string.
str_elem(string, index)
string |
A string. |
index |
An integer. Negative indexing is allowed as in
|
A one-character string.
str_elem(c("abcd", "xyz"), 3)
str_elem("abcd", -2)