in reply to Re: Re: Approximate matching of company namesin thread Some kind of fuzzy logic.
See trigram and/or ngram, and also the discussion in N-gram comparison