Re: a quick one - case insensitive string comparison

From: Date: Thu, 10 Aug 2006 09:35:38 +0000
Subject: Re: a quick one - case insensitive string comparison
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240449@lists.php.net to get a copy of this message
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

« previous php.general (#240449) next »