note 75198 deleted from function.explode by tularis
| From: | tularis@php.net | Date: | Mon, 27 Oct 2008 13:06:00 +0000 |
| Subject: | note 75198 deleted from function.explode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-145821@lists.php.net to get a copy of this message | ||
Note Submitter: xangelusx at hotmail dot com
----
@ JJ Rock, jason dot minett:
Here's an easy way around that:
<?php
$str = '^one^two^three^';
//Use trim() to remove extra delimiters
$arr = explode ('^', trim($str, '^'));
?>