# NOT RUN {
right("hello world", 3) # returns 'rld'
right(c("hello", "world"), 3) # returns vector c('llo', 'rld')
right(c("hello", "world"), c(1,3)) # returns vector c('o', 'rld')
right("hello world", 80) # returns 'hello world'
# }
Run the code above in your browser using DataLab