in reply to String matching idea

and many many more. Google on perl find longest common substring.


Enjoy, Have FUN! H.Merijn

Replies are listed 'Best First'.
Re^2: String matching idea
by salva (Canon) on Sep 18, 2015 at 12:31 UTC
    Note that the OP is asking for the common prefix, a much simpler problem than the LCSS one!

      I agree, but all those show a wealth of approaches. Finding the one that has the least OP's on the specific case of the OP on their system is left to the reader. In some cases some OP's might be faster on one architecture.


      Enjoy, Have FUN! H.Merijn