Re: Split haystack at nth occurrence of needle?
| From: | Curt Zirzow | Date: | Wed, 22 Sep 2004 20:29:53 +0000 |
| Subject: | Re: Split haystack at nth occurrence of needle? | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197605@lists.php.net to get a copy of this message | ||
* Thus wrote Curt Zirzow:
>
> $shortString = implode('<br>', explode('<br>', $string, $nth));
ignore this.
Curt
--
The above comments may offend you. flame at will.