note 528 deleted from substr by ronabop
| From: | ronabop@php.net | Date: | Thu, 31 Aug 2000 05:26:11 +0000 |
| Subject: | note 528 deleted from substr by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3721@lists.php.net to get a copy of this message | ||
Shouldn't that text before the last example say ... before the START of string?... I mean, the
example *seems* to be counting 1 characters from the start of string.
It might also be worth saying what happens with:
substr("abcdef", -7, 3);
I don't think anything here really addresses that... although I'd guess it might be
"a". Or it might be smart and give me "ab". Hmmmm.