How can I get the last n characters from a string in R? Is there a function like SQL’s RIGHT? 15 Answers 15 Tags: rstringsubstring