substr_r {ss3sim} | R Documentation |
Substring from right
substr_r(x, n)
x |
A character object |
n |
The number of characters from the right to extract |
http://stackoverflow.com/questions/7963898/extracting-the-last-n-characters-from-a-string-in-r