Case Insensativity in String Comparisons
| From: | Ben Miller | Date: | Tue, 25 Aug 2009 16:48:52 +0000 |
| Subject: | Case Insensativity in String Comparisons | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-297203@lists.php.net to get a copy of this message | ||
Is there a simple to way to compare two strings with case insensitivity so
that the following will return true?
$foo = "Arnold";
$bar = "arnold";
If($foo == $bar) {
}
Thanks.