note 9259 rejected and deleted from array_slice by jmcastagnetto

From: Date: Thu, 26 Oct 2000 00:33:24 +0000
Subject: note 9259 rejected and deleted from array_slice by jmcastagnetto
Groups: php.notes 
Request: Send a blank email to php-notes+get-6981@lists.php.net to get a copy of this message
Lets stay you have $string="foobar"; you can access $string[0] to get to 'f' So $string works as an array in this place, but you can't use "array_slice" on a string to get characters from index 2 to 4. What function is there in PHP to get range of characters from a string given starting and ending offset??

« previous php.notes (#6981) next »