/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function strProper($str) { if($str[$i]==' ') { $size = $j-$i-1; $shortWord = false; if($size<=3) { if($theWord==$noUp[$j]) $shortWord = true; } if( !$shortWord ) } $i+=$size; } return $str; } $str = "blah blah"; echo strProper($str);
URL: http://us2.php.net/manual/en/function.strtoupper.php
Comments
