note 74774 added to function.explode
| From: | JJRock at osu1 dot php dot net | Date: | Thu, 26 Apr 2007 23:02:37 +0000 |
| Subject: | note 74774 added to function.explode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125903@lists.php.net to get a copy of this message | ||
Just a quick note to compliment jason dot minett's comment a few down:
It's obvious that this works the opposite way as well:
<?php
$str = "^one^two^three";
$arr = explode ("^", $str);
?>
results in an empty value in $arr[0].
----
Server IP: 64.71.164.2
Probable Submitter: 65.202.122.66
----
Manual Page -- http://www.php.net/manual/en/function.explode.php
Edit -- https://master.php.net/note/edit/74774
Del: integrated -- https://master.php.net/note/delete/74774/integrated
Del: useless -- https://master.php.net/note/delete/74774/useless
Del: bad code -- https://master.php.net/note/delete/74774/bad+code
Del: spam -- https://master.php.net/note/delete/74774/spam
Del: non-english -- https://master.php.net/note/delete/74774/non-english
Del: in docs -- https://master.php.net/note/delete/74774/in+docs
Del: other reasons-- https://master.php.net/note/delete/74774
Reject -- https://master.php.net/note/reject/74774
Search -- https://master.php.net/manage/user-notes.php