print longest_common_substr('abcabc','caWcabc'); # 'abc' not 'cabc'