thanks, i 've checked, it may fit. i also find something about a longest common sequence which may be of interest, but i was unable to adapt it for list (words) rather than characters :(