# NOT RUN {
longestCommonSuffix(c("123.ABC", "45677.ABC", "BC")) ## "BC"
longestCommonSuffix(c("123.ABC", "", "BC")) ## ""
longestCommonSuffix(c("123.ABC", "45677.ABC")) ## ".ABC"
longestCommonSuffix(c("nothing", "in", "common")) ## ""
# }
Run the code above in your browser using DataLab