I am looking for a smart algorithm in PHP (vs. the usual built-in PHP functions) to compare 2 strings.. take the following examples:
Whole foods - New York (should equal) Whole Foods Market Tully's Coffee - San Franscisco (should equal) Tully's Coffee
Of course not all source strings are going to be as easy as stripping out the place name. Any interesting algo's out there for something like above? Thanks.