/ Published in: PHP
![](/img/icon_sav.png?v3)
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
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)