note 35366 added to function.substr
| From: | phplist at boonedocks dot net | Date: | Thu, 28 Aug 2003 18:39:55 +0000 |
| Subject: | note 35366 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55254@lists.php.net to get a copy of this message | ||
If 'start' is negative and greater than the length of the string, PHP seems to return the
first 'length' characters of the string. For example, substr('test',-10,1)
returns 't'.
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35366
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35366&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35366&report=yes