longest continuous common string