note 39394 added to function.spliti
| From: | vbelon at hotmail dot com | Date: | Tue, 27 Jan 2004 11:51:34 +0000 |
| Subject: | note 39394 added to function.spliti | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64245@lists.php.net to get a copy of this message | ||
To split $cartes which contains data and tabulations:
Doesnt work :
$tab_cartes = split("\\t",$cartes );
But \t = char(9), so, works well:
$tab_cartes = split(Chr(9),$cartes);
Idem for :
\n = char(10)
\r = char(13)
Found in http://www.asp-magazine.com/fr/asp/blitz/blitz4.asp
----
Manual Page -- http://www.php.net/manual/en/function.spliti.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39394
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39394&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39394&report=yes
Search -- http://master.php.net/manage/user-notes.php