note 8107 deleted from substr by torben
| From: | torben@php.net | Date: | Sun, 27 Aug 2000 21:06:44 +0000 |
| Subject: | note 8107 deleted from substr by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3530@lists.php.net to get a copy of this message | ||
Simple basic computer programming knowlege.
Computers work with binary numbers. Binary numbers start at zero (0).
Therefore, substr("abcdefg",0,2); // ab
Also, think of the numbers in this fastion: positive numbers left to right.
Negative numbers right to left.