I should have looked at the manual a bit more thoroughly. I've just come across the similar_text() function which should do just what I'm after :-)
Thanks, Michael Egan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php