[nycphp-talk] strpos with space
Cassidy, Michael
Michael_Cassidy at advancemags.com
Mon Jul 25 18:36:41 EDT 2005
<?php
$temp= "The Word of the Famous TurkeyFace. The Word of the very Famous
TurkeyFace with the blue nose and green toes.";
$end= substr_count($temp, " ") . "<br />";
echo $end;
$character= 0;
while (($count < 10) && ($character < 109)) {
echo substr($temp, $character, 1);
if (substr($temp, $character, 1) == " ") {
$count= $count+1;
}
$character= $character+1;
}
?>
More information about the talk
mailing list