I have a large list of IDs (strings) and I need to find which are duplicates but only a part of the string is duplicated. Example:
listID1 <- c("B101.asg&