#19874 [Opn->WFx]: Case-insensitive strpos()
| From: | pollita@php.net | Date: | Tue, 28 Jan 2003 21:10:51 +0000 |
| Subject: | #19874 [Opn->WFx]: Case-insensitive strpos() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-31502@lists.php.net to get a copy of this message | ||
ID: 19874
Updated by: pollita@php.net
Reported By: hz11@nyu.edu
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.3.0-pre1
New Comment:
Consider using:
$position = strpos(strtolower($haystack),strtolower($needle));
Previous Comments:
------------------------------------------------------------------------
[2002-10-11 20:29:09] hz11@nyu.edu
Maybe I'm missing something, but a case-insensitive strpos() would be
handy. Yeah, there's obvious ways around it, but a native function
would be great.
Regards,
Hans
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19874&edit=1