[algogeeks] Re: algo to find common parts in strings?

2006-10-04 Thread Flávio Barata
What if this happens? MinPhiBla MinThetaBla MinZuhaBla Should it be: {P,T,Zu}, {i,eta,a} ? -- Flávio Santos --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send e

[algogeeks] algo to find common parts in strings?

2006-10-04 Thread Flo
I am searching an algorithm that can find common parts within a set of given strings. For example given the four strings MinXBla MinYBla MinPhiBla MinThetaBla The algorithm should see that the strings start with Min, then comes a variable string, and then they end with Bla. An extra would be if