explode...

From: Date: Thu, 29 May 2003 20:13:10 +0000
Subject: explode...
Groups: php.windows 
Request: Send a blank email to php-windows+get-20134@lists.php.net to get a copy of this message
Here is the explode function: explode($delimiter, $string); This function looks in $string for the specified delimiter then splits up $string by $delimiter and returns those values into an array. I am using the explode() function to divide up a string into an array by commas. According to the PHP.net documentation, if the string passed to explode() does not have an instance of the specified $delimiter, the function will return the value of $string. However, I find when I use the function, if the specified $delimiter does not exist, explode() simply returns the word "Array." Any ideas as to why this is? --Dave

« previous php.windows (#20134) next »