RE: [PHP] Pluralize a word for searching a database

2001-03-12 Thread Robert V. Zwink
what I am looking for. Thanks for your help. Robert Zwink -Original Message- From: Robert V. Zwink [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 28, 2001 11:43 AM To: PHP Mailing Listl (E-mail) Subject: [PHP] Pluralize a word for searching a database Importance: High Has anyone

Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (richard merit) wrote: > I don't think you can since the plural form of English > words can vary, woman, women, families, family, foot, > feet, church, churches, sheep, sheep, road, roads... > > ? > > rm > > --- "Robert V. Zwink" <[EMAIL P

Re: [PHP] Pluralize a word for searching a database

2001-02-28 Thread richard merit
I don't think you can since the plural form of English words can vary, woman, women, families, family, foot, feet, church, churches, sheep, sheep, road, roads... ? rm --- "Robert V. Zwink" <[EMAIL PROTECTED]> wrote: > Has anyone every written a function in php to > pluralize an english word

[PHP] Pluralize a word for searching a database

2001-02-28 Thread Robert V. Zwink
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 ht