Re: splitting a string
| From: | Ashley Sheridan | Date: | Tue, 05 Jan 2010 13:25:11 +0000 |
| Subject: | Re: splitting a string | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300812@lists.php.net to get a copy of this message | ||
On Tue, 2010-01-05 at 14:26 +0100, Daniel Egeberg wrote:
> On Tue, Jan 5, 2010 at 14:13, Ashley Sheridan <ash@ashleysheridan.co.uk> wrote:
> > (untested - I always forget the order of the params!)
>
> As a general rule, string functions are always haystack-needle and
> array functions are always needle-haystack. I can't think of any
> exceptions to that rule.
>
> --
> Daniel Egeberg
>
Thanks! I'll try and remember that. It'll save me many trips to the
manual pages as well!
Thanks,
Ash
http://www.ashleysheridan.co.uk