Hi all.
I have a collection of strings: ["Apples sales-May 2019", "Figs sales-May 2019", "Bananas sales-May 2019", "Coconuts sales-May 2019", "Cherries sales-May 2019"]
all the strings have only 5 different possible substrings as you can see: Apples, Figs, Bananas, Coconuts, Cherries (substring...