srinidelite -4 Newbie Poster

please tel me the logic behind the code for find the common aphabets between two words??

ex ... mine mind

common letters are : m i n

like