explode and implode
| From: | Craig Henderson | Date: | Fri, 11 Aug 2000 01:13:29 +0000 |
| Subject: | explode and implode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11253@lists.php.net to get a copy of this message | ||
Ok, here is my situation today. I have a form submitting information in a
text box, I want to use explode() to break it up into individual words using
the space character. I then want to separate the array into two pieces, I
want to implode elements 0..24 into a string and implode 25..xx into a
separate string. I read the manual on implode but it doesn't seem to be
clear, can I implode certain elements of the array or just the whole thing?
If I can't implode certain elements is there a function I can use to split
the array into two pieces and then use implode on each piece? Thanks in
advance.
--Craig Henderson SAE, Adgrafix Corporation