See trigram and/or ngram, and also the discussion in N-gram comparison
In reply to Re^4: Approximate matching of company names by Corion in thread Some kind of fuzzy logic. by the_0ne