Trying to test the function strtok() I thought that the following script would output: t o n y
but I get
tony
Thanking all in advance.
Tony Ritter
.............................................
<?
$name="tony";
$token=strtok($name, " ");
echo $token."<br>";
while ($token!="")
$token=strtok(" ");
echo $token."<br>";
}
?>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

