note 20628 added to function.soundex

From: Date: Wed, 10 Apr 2002 17:29:23 +0000
Subject: note 20628 added to function.soundex
Groups: php.notes 
Request: Send a blank email to php-notes+get-29071@lists.php.net to get a copy of this message
To search for words like Clansy and Klansy, just reverse the strings: $s1 = "Clansy"; $s2 = "Klansy"; if((soundex($s1) == soundex($s2)) || (soundex(strrev($s1)) == soundex(strrev($s2)))) echo("Match"); -- http://www.php.net/manual/en/function.soundex.php http://master.php.net/manage/user-notes.php?action=edit+20628 http://master.php.net/manage/user-notes.php?action=delete+20628 http://master.php.net/manage/user-notes.php?action=reject+20628

« previous php.notes (#29071) next »