hi John > Me thinks that was what I used. > http://ca.php.net/strstr > http://ca.php.net/stristr > http://ca.php.net/strpos > What's the difference? the ones ending 'pos' just return an integer position. The 'i' in these string manipulation functions generally means that the function is case-insensitive. Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php