in reply to
Finding Overlapping between 2 strings
split both strings into arrays of characters
use
Algorithm::Diff
to compare the two arrays
convert the output into the format you like
Comment on
Re: Finding Overlapping between 2 strings
In Section
Seekers of Perl Wisdom