From: Hassan Schroeder Date: 2010-12-15T10:15:14+09:00 Subject: Re: do your bit for my mental health - how to find the difference between two strings? On Tue, Dec 14, 2010 at 4:30 PM, thunk wrote: > I was thinking from the title that knowing the exact difference > between two strings could help him find the source of the problem. > The Levenstein algorithm does this. Well... your example code tells me the Levenshtein distance between 'foo' and 'food' is 2, which would seem an iffy assertion. But I'm no mathematician :-) -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan