http://qs321.pair.com?node_id=11118384


in reply to Divide a list of string into substrings

are overlapping substrings allowed?

"333X111", "222X111", "000X333", "000X111"

With overlap "000X","X111","222","333" weight => 22

Otherwise what is the solution???

update

Added first row "333X111"

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery