Re: note 9259 added to array_slice
| From: | J. M. Castagnetto | Date: | Thu, 26 Oct 2000 00:34:14 +0000 |
| Subject: | Re: note 9259 added to array_slice | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6982@lists.php.net to get a copy of this message | ||
See substr() in the manual
Your note has been removed.
--- null@_spam_.acm.org wrote:
> 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??
>
> http://www.php.net/manual/function.array-slice.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/