> I'm trying to write a function to catch and remove plurals from a
> search feature, can anyone suggest how I can efficiently remove 'ies'
> and 's' from the right hand end of each word within an array?

Your best bet is to use a phonetic search (for speed) looking up against a
dictionary file.... although there are speed impacts.

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to