Consider the following tibbles:
library(tidyverse) tbl_base_ids = tibble(base_id = c("ABC", "ABCDEF", "ABCDEFGHI"), base_id_len