Pluralize a word for searching a database

From: Date: Wed, 28 Feb 2001 16:43:25 +0000
Subject: Pluralize a word for searching a database
Groups: php.general 
Request: Send a blank email to php-general+get-42028@lists.php.net to get a copy of this message
Has anyone every written a function in php to pluralize an english word, particularly when searching a database? function pluralize($word){ return array of pluralized words; } Any help would be appreciated. Seems like their might be a nice regex waiting to handle this? Thanks! Robert Zwink http://zwink.levitate.org

« previous php.general (#42028) next »