Re: [PHP] a quick one - case insensitive string comparison

2006-08-10 Thread Andries Seutens
Stut schreef: Ross wrote: I want to get a positive resuly comparing Apple with aPPLE or CaR with car anyone know if there is a built in php function? http://php.net/strcasecmp -Stut Indeed better. Andriesss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] a quick one - case insensitive string comparison

2006-08-10 Thread Stut
Ross wrote: I want to get a positive resuly comparing Apple with aPPLE or CaR with car anyone know if there is a built in php function? http://php.net/strcasecmp -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] a quick one - case insensitive string comparison

2006-08-10 Thread Andries Seutens
Ross schreef: I want to get a positive resuly comparing Apple with aPPLE or CaR with car anyone know if there is a built in php function? R. if (strtolower('Apple') === strtolower('aPPLE')) { echo 'compared successfull case insensitive'; } Regards, Andriesss -- PHP General Maili

[PHP] a quick one - case insensitive string comparison

2006-08-10 Thread Ross
I want to get a positive resuly comparing Apple with aPPLE or CaR with car anyone know if there is a built in php function? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php