Re: a quick one - case insensitive string comparison

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux