On Tue, Feb 7, 2012 at 12:19 PM, Micky Hulse <rgmi...@gmail.com> wrote:
> Yah, ditto! :D

$s = 'foo,bar,';
print_r(explode(',', $s));

The output is:

    [0] => foo
    [1] => bar
    [2] =>

That's one instance where I know you have to be cautious about the
trailing delimiter.

I know, this is all noob stuff... Sorry. :D

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to