note 22153 added to function.strncmp
| From: | php-general at lists dot php dot net | Date: | Sat, 08 Jun 2002 09:33:11 +0000 |
| Subject: | note 22153 added to function.strncmp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31597@lists.php.net to get a copy of this message | ||
To osvaldojaneri@uol.com.br,
You can use substr(string s, int start, [int length]) and then strcmp() the returned string, or make
your own strncmp() that should be more efficient ;)
--
http://www.php.net/manual/en/function.strncmp.php
http://master.php.net/manage/user-notes.php?action=edit+22153
http://master.php.net/manage/user-notes.php?action=delete+22153
http://master.php.net/manage/user-notes.php?action=reject+22153