note 39241 deleted from function.split by tomsommer

From: Date: Wed, 21 Jan 2004 21:10:59 +0000
Subject: note 39241 deleted from function.split by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-63981@lists.php.net to get a copy of this message
Note Submitter: Eric Andres ---- While looking for a php function equivalent to qw (quote words) here I realized that I can just go around the lack of that function. In perl, all qw is, it's a macro that takes the argument string and puts it in side of a split function. Here's the coding for it: qw( Hello World! ) #is equivalent to split(' ',"Hello World!"); That code should work for both perl and php. Hope this helps someone. Regards, Eric

« previous php.notes (#63981) next »