Popular recipes tagged "longest_common_substring"http://code.activestate.com/recipes/tags/longest_common_substring/2013-03-05T19:22:31-08:00ActiveState Code Recipeslongest common substring (Python) 2013-03-05T19:22:31-08:00yotahttp://code.activestate.com/recipes/users/4184815/http://code.activestate.com/recipes/578465-longest-common-substring/ <p style="color: grey"> Python recipe 578465 by <a href="/recipes/users/4184815/">yota</a> (<a href="/recipes/tags/longest_common_substring/">longest_common_substring</a>). Revision 4. </p> <p>Return, more than the substring itself, the position of the said substring, relative to each string passed in parameter.</p> <p>String is a generic term. Here, it is an array, any object with __getitem__() method should work.</p>