note 58462 added to function.preg-split
| From: | admin at jphantom dot com | Date: | Fri, 04 Nov 2005 22:34:45 +0000 |
| Subject: | note 58462 added to function.preg-split | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98093@lists.php.net to get a copy of this message | ||
How would one implode the array using the regex used in the preg_split() function?
For example, you preg_split() all html links. After working with the array, how would you implode
the array back into a string with the same "glue"?
----
Manual Page -- http://www.php.net/manual/en/function.preg-split.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58462
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58462&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58462&report=yes
Search -- http://master.php.net/manage/user-notes.php