note 8107 added to substr

From: Date: Sun, 27 Aug 2000 20:41:22 +0000
Subject: note 8107 added to substr
Groups: php.notes 
Request: Send a blank email to php-notes+get-3527@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. http://www.php.net/manual/function.substr.php

« previous php.notes (#3527) next »