note 11387 added to substr
| From: | elf at messer dot de | Date: | Mon, 19 Feb 2001 09:00:28 +0000 |
| Subject: | note 11387 added to substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11241@lists.php.net to get a copy of this message | ||
Non-negative start values specify an index into the string.
So the position count starts at 0 and not 1.
http://www.php.net/manual/en/function.substr.php