Extracting the last n characters from a string in R Extracting the last n characters from a string in R r r